public insert(position as UInt, value as Char) as StringBuilder throws IndexException:
Inserts one Unicode scalar.
| Parameter | Description |
|---|---|
position | Insertion position between 0 and length. |
value | Scalar to insert. |
This builder.
builder = StringBuilder("AB")
builder.insert(1u, '😀')
assert builder.toString() == "A😀B"