EXTSTR

The EXTSTR function extracts a substring from the input string.

This component searches the input string for the specified substring and outputs the substring to the right or left of the matching string as specified.

Input/Output

Number of Connections: Min: 1/Max:2
InputData TypeDescription
Input1StringThe string on which the search is made.
Input2StringSets the Search property. (optional)

OutputData TypeDescription
Output1StringThe extracted substring.

Property

NameProperty TypeDescription
SearchstringThe substring to search for.
SearchDirchoice The direction from which the search is made.
Left - Begins the search from the left of the string.
Right - Begins the search from the right of the string.
GetDirchoiceDefines which portion of the original string is to be output if a match is made.
Left - Returns the portion of the original string to the left of the matched substring.
Right - Returns the portion of the original string to the right of the matched substring.

Topic

Example

PropertyOutput
Input1abyzcdyzefSearchyzab
SearchDirLeft
GetDirLeft

PropertyOutput
Input1abyzcdyzefSearchyzcdyzef
SearchDirLeft
GetDirRight

PropertyOutput
Input1abyzcdyzefSearchyzef
SearchDirRight
GetDirRight