base.StringBuffer.trimRight

Removes trailing blanks.

Syntax

trimRight()

Usage

The trimRight() method removes the trailing blanks in the string buffer.

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