Strings

Take Form Left/Mid/Right

6min

Overviewο»Ώο»Ώ

Use these actions to extract a substring from the beginning/middle/end of a specified string.

Take from Left/Mid/Right actions were previously called String Left/Mid/Right.

ο»Ώ

How to configure the Take from Left/Mid/Right actions?ο»Ώο»Ώο»Ώο»Ώο»Ώο»Ώ

Step 1. Create a process and give it a name.

Step 2. Drag the Take from Left/Mid/Right action to the canvas and link it to the other actions.

Document image
ο»Ώ

Step 3. Create the variables needed for the configuration of the action, and then add them to the configuration panel:

Document image
ο»Ώ

String Left

Document image
ο»Ώ
  • Input string: you need to input the string variable
  • Number of characters: you need to input an integer variable, containing the number of the characters to return from the left side of the string
  • Result: the output contains the returned substring from the beginning of the specified string

String Mid

Document image
ο»Ώ
  • Input string: you need to input a string variable that contains the value from where the extraction will be performed
  • Index starting at: you need to input an integer (index number) where the replacement will start from. The first character in a string has the index 0 and starts from the left
  • Extract length: input an integer of the length of the segment to extract (Ex: if you have a text with 10 characters and you input a length of 11 or more, it will return all the text from the starting index)
  • Result: the extracted string output

String Right

Document image
ο»Ώ
  • Input string: you need to input a string variable that contains the value from which the right portion will be returned
  • Number of characters: you need to input a integer variable that contains the number of the characters to return from the right side of the string
  • Result: the output contains the returned substring from the end of the specified string

Step 4. Save, Validate and Run the process.

Step 5. You will be prompted to add the string for the input variable. Click Run.

Step 6. To verify the process click Check instance.

Step 7. In the Output section, you can see the results:

Document image
ο»Ώ

ο»Ώ

Updated 16 Feb 2024
Doc contributor
Doc contributor
Did this page help you?