GET_NEXT_STR_ARG
Syntax
string_val = GET_NEXT_STR_ARG( s );
- Input arguments
-
string s The string argument.
Return Values
-
The next element as a string or empty string if no more elements.
Description
It is common practice with "text" type labels that several variable values are packed into one string argument. Packing is done by separating the elements with some fixed separator character e.g. '\'.
SET_CODED_STR_ARG is called first to set up for packed string manipulation and then elements are extracted one by one with GET_NEXT_STR_ARG, until an empty string is returned.
These two functions are currently used in Diagram for parsing label arguments.
Function Set
Related Functions