StrGetElement
Get Substring from Formatted String List
Definition
Collects a substring from a formatted string and stores it in a variable.
Settings
Input
- List
of strings
The string you want to collect the substring from.
(The string can also be taken from a variable.) - Separator
The character separating individual substrings within the string. For the separator, two options are available:- Search for the individual characters
If multiple characters are entered as separators, each individual character is taken as a separator, independent from the other characters. - Search for the string
If multiple characters are entered as separators, only the entire string is interpreted as separator.
- Search for the individual characters
- Index
Determines which substring you want to collect.
The count starts from the left at 0 (0 is the first element). - Store
result in
A variable that collects the string.
If the specified separator
does not exist the command returns the complete string.
If the index is outside of the string’s range the command returns an
empty string.