Split String By Character Positions
  • 01 Nov 2022
  • 1 Minute to read
  • Dark
    Light

Split String By Character Positions

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.12.0
LocationData > Text

The Split String By Character Position step creates a line break after each character for every position listed. A user may define whether or not the step should fail if a position is not found, what the list of positions is, and the Source string. The list of positions is input as integers. The number in the list corresponds directly to the character at that position. Example: If position six were listed in the string, "This is a test," then a line break would appear: "This i/s a test."



Properties

Inputs

PropertyDescriptionData Type
Fail If Position Not FoundThis boolean value will determine if the step fails if the positions are not found in the source.Boolean
PositionsPositions within the source to split the string at.List of Int32
SourceString to split.String

Outputs

PropertyDescriptionData Type
SplitStringByCharacterPositions1_Output
Split String.List of String



Was this article helpful?