LTrim
Function LTrim( string )
Returns a copy of string with all leading whitespace removed.
Syntax a = LTrim( " Hello There" )
Remarks
LTrim returns a copy of string with all leading whitespace removed.
See Also:
Example Script
' left trim each line as it is displayed
STRING ln
ln = LTRIM(" This ") ' spaces before This will be removed
PRINT ln
ln = ln + LTRIM(" is a ") ' spaces before is will be removed
PRINT ln
ln = ln + LTRIM(" test of LTRIM . . . . .") ' spaces before test will be removed
PRINT ln
Script Output
This
This is a
This is a test of LTRIM . . . . .