Previous | Up | Next |
Returns a sub-string of the string passed in argument. The first integer gives the start position of the sub-string, the first character being in position 0, and the second integer gives the size. For example, substr "abcdef" 2 3 returns the "cde" string.Parameters
S substr ( S _string_ I _position_ I _length_ )
Return value
_string_ any string _position_ position of sub-string to extract _length_ expected length of sub-string
sub-string