Trim function (LotusScript® Language)

Removes leading and trailing spaces from a string and returns the resulting string.

Syntax

Trim[$] ( stringExpr )

Elements

stringExpr

Any string expression.

Return value

Trim returns the trimmed version of stringExpr, but does not modify the contents of stringExpr itself.

Trim returns a Variant of DataType 8 (String), and Trim$ returns a String.

Example