From OpenSCADAWiki
Jump to: navigation, search

String: Path to separated string (strPath2Sep)

Description: Converting the path to the separated string.
Parameters:

Identifier Parameter Type Mode By defaults
rez Result String Return
src Source String Input
sep Separator String Input "."

Example:

//Converting the value "/ses_AGLKS/pg_so" of the attribute "path" to the value "ses_AGLKS.pg_so"
using Special.FLibSYS;
test = strPath2Sep(path);
messPut("Example", 0, "path: "+path);
messPut("Example", 0, "strPath2Sep(): "+test);