klyn.StringBuilderSync.remove
method
public remove(position as UInt, length as UInt) as StringBuilderSync 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 = StringBuilderSync()
builder.append("Kxlyn")
builder.remove(1u, 1u)
print(builder.toString())