TRIM function
Description
RTRIM(str) returns a string with all trailing spaces removed from from str.
Examples
RTRIM("John Doe ") returns "John Doe"
RTRIM(" ") returns an empty string (length=0)
RTRIM(str) returns a string with all trailing spaces removed from from str.
RTRIM("John Doe ") returns "John Doe"
RTRIM(" ") returns an empty string (length=0)