base.StringBuffer.trimLeft

Removes leading blanks.

Syntax

trimLeft()

Usage

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

Example

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