The STRING data type as class / STRING data type methods |
Removes leading blanks.
trimLeft( ) RETURNING result STRING
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.
MAIN DEFINE s STRING LET s = " Some text" DISPLAY s.trimLeft() END MAIN