RTrim function (LotusScript® Language)

Remove trailing spaces from a string and return the resulting string.

Syntax

RTrim[$] ( stringExpr )

Elements

stringExpr

Any String expression.

Return value

RTrim returns a Variant of DataType 8 (String), and RTrim$ returns a String. RTrim returns the trimmed version of stringExpr, but does not modify the contents of stringExpr itself.

Example