substrsubstr string , pos , [ n , replacement ] Extracts and returns a substring n characters long, starting at character position pos , from a given string . If pos is negative, the substring starts that far from the end of the string instead. If n is omitted, everything to the end of the string is returned. If n is negative, the length is calculated to leave that many characters off the end of the string.
You can use |
|