substr
(substr string fromPosition [ numChars ]
)
This function extracts a part of the
input string, starting at specified from index, and of
numChars length.
Arguments |
string (string) the string to extract from |
Return |
string, can be empty if fromPosition is beyond the string length, or if numChars is 0 |
Example |
(substr "Monday" 4)
"day" |
Remarks |
the first character is specified as index 1 |
© Bricsys NV. All rights reserved. |