From OpenSCADAWiki
String: Get substring (strSubstr)
Description: Getting of the substring.
Parameters:
Identifier | Parameter | Type | Mode | By defaults |
---|---|---|---|---|
rez | Result | String | Return | |
str | String | String | Input | |
pos | Position | Integer | Input | 0 |
n | Number | Integer | Input | -1 |
Example:
using Special.FLibSYS;
test = strSubstr("Example", 0, strSize("Example")-1);
messPut("Example", 1, "ReturnString: "+test);