See Also: String Functions, String Operators (Expression Syntax), Length, LTrim, Pos, Right, Trim
RTrim returns a string with trailing white space characters removed.
White space characters removed include ASCII characters 0 (null), 9 (horizontal tab), 10 (line feed), 11 (vertical tab), 12 (new page/form feed), 13 (carriage return) and 32 (space).
(RTrim( {string-value} ))
RTrim removes all white space characters to the right of the rightmost non-space character in the {string-value} parameter.
Showln (RTrim("18.45 ")) "%"
In this example, the string "18.45%" is shown.
Showln (RTrim(" Joe "))
In this example, the string " Joe" is shown.
This function returns a value of type string. If the result of this function is moved to a variable of type other than string, its value is converted to the destination type, if possible.