RIGHT
Description
RIGHT
returns the last n characters of a string. If the string is smaller than n characters, the whole string is returned.
Supported input column types: STRING
Output column type: STRING
Syntax
RIGHT ( table.column, n )
If n is zero or negative, an empty STRING will be returned for all input, except NULL.
NULL handling
If the value is NULL, the result is NULL as well.
Example
[1] Get last character of string. | ||||||||||||||||||
| ||||||||||||||||||
|