fun StringBuilder.deleteCharAt(index: Int): StringBuilderDeprecated: Use deleteAt(index: Int) instead
Removes the character at the specified index from this string builder and returns this instance.
If the Char
at the specified index is part of a supplementary code point, this method does not remove the entire supplementary character.
index
- the index of Char
to remove.
IndexOutOfBoundsException
- if index is out of bounds of this string builder.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/delete-char-at.html