typealias StringBuilder = StringBuilder
Platform and version requirements: Kotlin 1.1, JVM
class StringBuilder : Appendable, CharSequence
Platform and version requirements: JS
StringBuilder(capacity: Int) StringBuilder(content: CharSequence) StringBuilder(content: String = "") |
val length: Int Returns the length of this character sequence. |
fun append(c: Char): StringBuilder fun append(csq: CharSequence?): StringBuilder fun append( csq: CharSequence?, start: Int, end: Int ): StringBuilder fun append(obj: Any?): StringBuilder | |
fun get(index: Int): Char Returns the character at the specified index in this character sequence. | |
fun reverse(): StringBuilder | |
fun subSequence(start: Int, end: Int): CharSequence Returns a new character sequence that is a subsequence of this character sequence, starting at the specified startIndex and ending right before the specified endIndex. | |
fun toString(): String Returns a string representation of the object. |
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-string-builder/