klyn.StringBuilderSync.insert
method
public insert(position as UInt, value as UShort) as StringBuilderSync throws IndexException:
Description
Inserts an unsigned short. builder = StringBuilderSync() builder.append("[]") builder.insert(1u, UShort(12)) print(builder.toString())
Parameters
  • position Insertion position between 0 and length.
  • value Value to insert.
Returns
This builder.
Throws
  • IndexException if position is outside [0, length].
Example