The StringBuffer class / base.StringBuffer methods |
Insert a string at a given position.
insertAt( part STRING, pos INTEGER )
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