klyn.StringBuilder.remove
method

    public remove(position as UInt, length as UInt) as StringBuilder throws IndexException:

Description

Removes a range of characters.

Parameters

- position Start position.
- length Number of characters to remove.

Returns

This builder.

Throws

- IndexException if the requested range is invalid.

Example

    builder = StringBuilder()
    builder.append("Kxlyn")
    builder.remove(1u, 1u)
    print(builder.toString())