Parameter | Type | Description |
---|---|---|
string | string | the string to take the rightmost characters of |
num_chars | integer | the number of characters to get |
Returns: string
Example
query:
SELECT RIGHT("Alphabet", 3)
results:
right |
---|
bet |
The string function used to find the n rightmost characters of a string.
Parameter | Type | Description |
---|---|---|
string | string | the string to take the rightmost characters of |
num_chars | integer | the number of characters to get |
query:
SELECT RIGHT("Alphabet", 3)
results:
right |
---|
bet |
CONCAT
, ENDSWITH
, LEFT
, LENGTH
, LOWER
, LPAD
, LTRIM
, MID
, REGEXP_EXTRACT
, REVERSE
, REPLACE
, RPAD
, RTRIM
, SUBSTRING
, STARTSWITH
, STR_AFTER
, STR_BEFORE
, STR_CONTAINS
, STRING_SPLIT
, TRIM
, UPPER