right
Extracts a sub-string with a specific length from the first argument, starting with
the right-most character.
Any data type can be used for the first argument. Types other than string are converted to string before the function is applied.
Arguments
- Input string.
- Length of the sub-string to extract as an integer.
Examples
Expression | Result |
---|---|
right("Hello World!", 6) | "World!" |