set

Common
operator fun StringBuilder.set(index: Int, value: Char)

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

Since Kotlin

1.4

Throws

if index is out of bounds of this string builder.

JS
inline operator fun StringBuilder.set(index: Int, value: Char)

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

Since Kotlin

1.4

Throws

if index is out of bounds of this string builder.

Native
inline operator fun StringBuilder.set(index: Int, value: Char)

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

Throws

if index is out of bounds of this string builder.