STRING.trim
Removes leading and trailing blanc characters.
Syntax
trim( )
RETURNS STRING
Usage
The trim()
method removes the leading and 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.trim()
END MAIN