substru#
- swordfish.function.substru()#
The only differerence between substru and substr is that substru can process Unicode strings.
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.