substr#
- swordfish.function.substr()#
Return a substring of X with the specified starting position (offset) and length. The first character of X corresponds to position 0. If length exceeds the length of X, stop at the end of X.
If length is not specified, return a substring of X from the specified starting position (offset) to the end of X.