kotlin-stdlib / kotlin.text / java.lang.StringBuilder / set set JVM 1.0 operator fun StringBuilder.set(index: Int, value: Char)(source) Sets the character at the specified index to the specified value. Exceptions IndexOutOfBoundsException - if index is out of bounds of this string builder.