| The StringBuffer class / base.StringBuffer methods | |
Insert a string at a given position.
insertAt( pos INTEGER, part STRING )
The insertAt() method inserts a string before the specified position in the string buffer.
CALL buf.append("abcdef")
CALL buf.insertAt(3, "xx")
DISPLAY buf.toString() -- Shows abcxxdef