base.StringBuffer.trim

Remove leading and trailing blanks.

Syntax

trim()

Usage

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

Example

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