set

JS
1.3
@ExperimentalStdlibApi operator fun set(
    index: Int,
    value: Char)
Native
1.3
operator fun set(index: Int, value: Char)

Sets the character at the specified index to the specified value.

Exceptions

IndexOutOfBoundsException - if index is out of bounds of this string builder.