append

fun <T : Appendable> T.append(vararg value: CharSequence?): T(source)

Appends all arguments to the given Appendable.

Since Kotlin

1.0

Appends all arguments to the given StringBuilder.

Since Kotlin

1.0

Appends the string representation of the specified byte value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9

Appends the string representation of the specified short value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9

Deprecated

Use append(value: Any?) instead

Replace with

append(value = obj)

Since Kotlin

1.0

inline fun StringBuilder.append(str: CharArray, offset: Int, len: Int): StringBuilder(source)

Deprecated (with error)

Use appendRange instead.

Replace with

this.appendRange(str, offset, offset + len)

Since Kotlin

1.0
actual inline fun StringBuilder.append(value: Byte): StringBuilder(source)

Appends the string representation of the specified byte value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9

actual inline fun StringBuilder.append(value: Short): StringBuilder(source)

Appends the string representation of the specified short value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9
actual inline fun StringBuilder.append(value: Byte): StringBuilder(source)

Appends the string representation of the specified byte value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9

actual inline fun StringBuilder.append(value: Short): StringBuilder(source)

Appends the string representation of the specified short value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9
actual inline fun StringBuilder.append(value: Byte): StringBuilder(source)

Appends the string representation of the specified byte value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9

actual inline fun StringBuilder.append(value: Short): StringBuilder(source)

Appends the string representation of the specified short value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9
actual inline fun StringBuilder.append(value: Byte): StringBuilder(source)

Appends the string representation of the specified byte value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9

actual inline fun StringBuilder.append(value: Short): StringBuilder(source)

Appends the string representation of the specified short value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

Since Kotlin

1.9