base.StringBuffer.trimLeft

Removes leading blanc characters.

Syntax

trimLeft()

Usage

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

Example

MAIN
   DEFINE buf base.StringBuffer
   LET buf = base.StringBuffer.create()
   CALL buf.append("  abc  ")
   CALL buf.trimLeft()
   DISPLAY "["||buf.toString()||"]" -- Shows [abc  ]
END MAIN