RTRIM
Removes any trailing whitespace from a given string.
Syntax
Arguments
STRING
STRING
Type: string
A sequence of characters.
Returns
Type: string
STRING
with any trailing whitespaces removed.
Examples
STRING
Output
hey
hey
hey
hey
hey
hey
hey
hey
a b
a b
Transformation job example
SQL
Query result
rtrim_example
hi
Last updated