public insert(position as UInt, value as String) as StringBuilderSync throws IndexException:
Inserts a string at a given position.
| Parameter | Description |
|---|---|
position | Insertion position between 0 and length. |
value | String to insert. |
This builder.
builder = StringBuilderSync()
builder.append("Klyn")
builder.insert(0u, "Hello ")
print(builder.toString())