Extensions for java.lang.StringBuilder

JVM
1.0

appendln

Appends a line separator to this StringBuilder.

Appends value to this StringBuilder, followed by a line separator.

fun StringBuilder.appendln(
    value: StringBuffer?
): StringBuilder
fun StringBuilder.appendln(
    value: CharSequence?
): StringBuilder
fun StringBuilder.appendln(value: String?): StringBuilder
fun StringBuilder.appendln(value: Any?): StringBuilder
fun StringBuilder.appendln(
    value: StringBuilder?
): StringBuilder
fun StringBuilder.appendln(value: CharArray): StringBuilder
fun StringBuilder.appendln(value: Char): StringBuilder
fun StringBuilder.appendln(value: Boolean): StringBuilder
fun StringBuilder.appendln(value: Int): StringBuilder
fun StringBuilder.appendln(value: Short): StringBuilder
fun StringBuilder.appendln(value: Byte): StringBuilder
fun StringBuilder.appendln(value: Long): StringBuilder
fun StringBuilder.appendln(value: Float): StringBuilder
fun StringBuilder.appendln(value: Double): StringBuilder
JVM
1.3

clear

Clears the content of this string builder making it empty.

JVM
1.0

set

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

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