set

Common
JS
1.3
@ExperimentalStdlibApi operator fun StringBuilder.set(
    index: Int,
    value: Char)
Native
1.3
operator fun StringBuilder.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.