klyn.StringBuilder.insert
method

    public insert(position as UInt, value as Short) as StringBuilder throws IndexException:

Description

Inserts a signed short.

Parameters

Parameter | Description
--- | ---
`position` | Insertion position between 0 and length.
`value` | Value to insert.

Returns

This builder.

Throws

- IndexException if position is outside [0, length].

Example

    builder = StringBuilder()
    builder.append("[]")
    builder.insert(1u, Short(12))
    print(builder.toString())