Parameter | Type | Description |
---|---|---|
str | string | the string to remove the rightmost spaces of |
Returns: string
Example
query:
SELECT RTRIM(" Pickles ")
results:
rtrim |
---|
Pickles |
The string function used to trim any trailing spaces from the right of a string.
Parameter | Type | Description |
---|---|---|
str | string | the string to remove the rightmost spaces of |
query:
SELECT RTRIM(" Pickles ")
results:
rtrim |
---|
Pickles |
CONCAT
, ENDSWITH
, LEFT
, LENGTH
, LOWER
, LPAD
, LTRIM
, MID
, REGEXP_EXTRACT
, REPLACE
, REVERSE
, RIGHT
, RPAD
, SUBSTRING
, STARTSWITH
, STR_AFTER
, STR_CONTAINS
, STRING_SPLIT
, TRIM
, UPPER