base.StringBuffer.trimRightWhiteSpace
Removes trailing whitespace characters.
Syntax
trimRightWhiteSpace() Usage
The trimRightWhiteSpace() method removes the trailing whitespace characters in
the string buffer.
 The method considers as whitespace characters all characters less than or equal to blank space
(ASCII(32)). This includes tab (\t), newline
(\n), carriage-return (\r) and form-feed
(\f).
Example
MAIN
   DEFINE buf base.StringBuffer
   LET buf = base.StringBuffer.create()
   CALL buf.append("  abc  \n\t")
   CALL buf.trimRightWhiteSpace()
   DISPLAY "["||buf.toString()||"]"
END MAIN
Output:
[  abc]