base.StringBuffer.trim

Remove leading and trailing blanks.

Syntax

trim()

Usage

The trim() method removes the leading and trailing blanks in the string buffer.

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