separator_return_attribute_string_delimiter_position_.htm
Navigation: Templates > Template Language Reference > Built-in Template Procedures >====== SEPARATOR (return attribute string delimiter position) ====== | |
SEPARATOR( string, start )
SEPARATOR | Returns the position of the next comma in the attribute string. |
String | A string constant or symbol containing a comma delimited list of attributes. |
Start | An integer constant or symbol containing the starting position from which to seek the next comma. |
The SEPARATOR procedure returns the position of the next comma in the attribute string from the start position. This procedure correctly processes nested quotes within the string so that commas in string constants do not cause it to return an incorrect position.
Return Data Type: LONG
Example:
#SET(%MySymbol,SEPARATOR(%ControlStatement,1)) #!Return first comma position
See Also:
separator_return_attribute_string_delimiter_position_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1