RTrim
Returns a copy of a string with any trailing spaces removed.
Syntax
RTrim(<value>)
Parameters
<value>
Type: Text
Text value from which you want to remove trailing spaces. See also
Specifying text strings as arguments.
(return)
Type: Text
Copy of <value> with trailing spaces removed.
Notes
RTrim removes white space (such as space and tab characters) that appears at the end of the input string. RTrim uses the rules of the input locale when interpreting white space.
If the current data value is NULL, <value> is "" and the return value is "".
Example
This example uses the RTrim function to return a copy of the contents of the address variable with any trailing spaces removed:
address.RTrim()
See also