Cloud
rtrim
The rtrim() function removes the longest string containing only characters from a specified set from the end (right side) of a string. If you don’t specify a set of characters, rtrim() removes spaces.
Syntax
The syntax of the rtrim() function is:
RTRIM(string)
RTRIM(string, characters)
The rtrim() function accepts the following arguments:
-
string: The string to trim. -
characters: Optional. The set of characters to remove from the end ofstring. Defaults to a space character.
Examples
Was this helpful?