From OpenSCADAWiki
Jump to: navigation, search

String: Parse with a separator (strParse)

Description: Parsing the string with a separator.
Parameters:

Identifier Parameter Type Mode By defaults
rez Result String Return
str String String Input
lev Level Integer Input
sep Separator String Input "."
off Offset Integer Output

Example:

using Special.FLibSYS;
ExapleString = "Example:123";
test = strParse(ExapleString, 1, ":");
messPut("Example", 0, "strParse(): "+test);