Command Reference : String and Date Function Reference
  
 
@rtrim
Syntax: @rtrim(str)
Argument: string, str
Return: string
Returns the string str with spaces trimmed from the right.
Example:
@rtrim("  I doubt that I did it.  ")
returns the string “  I doubt that I did it.”. Note that the spaces on the left remain.
See also @ltrim and @trim.