base.StringBuffer.trim
Remove leading and trailing blanc characters.
Syntax
trim()
Usage
The trim()
method removes the leading and trailing blanc characters in the
string buffer.
Example
MAIN
DEFINE buf base.StringBuffer
LET buf = base.StringBuffer.create()
CALL buf.append(" abc ")
CALL buf.trim()
DISPLAY "["||buf.toString()||"]" -- Shows [abc]
END MAIN