setCharAt

fun setCharAt(index: Int, ch: Char)

Sets the character at the specified index to ch.