STRING.trimLeft
Removes leading blank space (ASCII 32) characters.
Syntax
trimLeft( )
RETURNS STRING
Usage
The trimLeft() method removes the leading blank space characters of the current
STRING variable and returns a new string.
The method removes only blank space (ASCII(32)) characters. Characters tab
(\t), newline (\n), carriage-return (\r) and
form-feed (\f) are not removed.
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
Output:
[Some text]