STRING.trimRight

Removes trailing blanc characters.

Syntax

trimRight( )
       RETURNS STRING

Usage

The trimRight() method removes the trailing blanc characters of the current STRING variable and returns a new string.

If the original STRING variable is NULL, the result will be NULL.

Example

MAIN
  DEFINE s STRING
  LET s = "Some text     "
  DISPLAY s.trimRight()
END MAIN