W3cubDocs

/Kotlin

appendln

Platform and version requirements: JVM (1.0)
fun StringBuilder.appendln(): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.

Appends a line separator to this StringBuilder.

Platform and version requirements: JVM (1.0)
fun StringBuilder.appendln(
    value: StringBuffer?
): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(
    value: CharSequence?
): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: String?): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: Any?): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(
    value: StringBuilder?
): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: CharArray): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: Char): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: Boolean): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: Int): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: Short): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: Byte): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: Long): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: Float): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.
fun StringBuilder.appendln(value: Double): StringBuilder
Deprecated: Use appendLine instead. Note that the new method always appends the line feed character '\\n' regardless of the system line separator.

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

© 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/java.lang.-string-builder/appendln.html