string.right()
Returns a substring from end of the input string, with a length specified by the count argument.
string.right( count=number )
Returns: String
| Argument | Description |
|---|---|
|
count
number,
required
|
edit
A non-zero integer. A positive value of n will return n characters from the end of the string. A negative value of n will return (length - n) characters from the end of the string. |
Examples
edit str="Save trees, save life on the earth";
writeDump(str.right(23));