Overview
>
klyn
>
StringBuilder
>
insert
Overview
Index
Tree
Deprecated
klyn.StringBuilder.insert
method
public insert(position as UInt, value as Float) as StringBuilder throws IndexException:
Description
Inserts a float. builder = StringBuilder() builder.append("[]") builder.insert(1u, 1.5f) 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