STRING.trimLeft

Removes leading blanks.

Syntax

trimLeft( )
       RETURNING result STRING

Usage

This method deletes the white space characters before the first character of the current STRING variable and returns the resulting string.

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

Example

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