public insert(position as UInt, value as Boolean) as StringBuilder throws IndexException:
Inserts a boolean.
| Parameter | Description |
|---|---|
position | Insertion position between 0 and length. |
value | Value to insert. |
This builder.
builder = StringBuilder()
builder.append("[]")
builder.insert(1u, true)
print(builder.toString())