base.StringBuffer.trimLeft

Removes leading blanks.

Syntax

trimLeft()

Usage

The trimLeft() method removes the leading blanks in the string buffer.

CALL buf.append("  abc  ")
CALL buf.trimLeft()
DISPLAY "["||buf.toString()||"]" -- Shows [abc  ]