| The StringBuffer class / base.StringBuffer methods | |
Remove leading and trailing blanks.
trim()
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]