append

Common
abstract fun append(value: Char): Appendable

Appends the specified character value to this Appendable and returns this instance.

Parameters

value

the character to append.

JS
abstract fun append(value: Char): Appendable

Appends the specified character value to this Appendable and returns this instance.

Parameters

value

the character to append.

Native
abstract fun append(value: Char): Appendable

Appends the specified character value to this Appendable and returns this instance.

Parameters

value

the character to append.

Common
abstract fun append(value: CharSequence?): Appendable

Appends the specified character sequence value to this Appendable and returns this instance.

Parameters

value

the character sequence to append. If value is null, then the four characters "null" are appended to this Appendable.

JS
abstract fun append(value: CharSequence?): Appendable

Appends the specified character sequence value to this Appendable and returns this instance.

Parameters

value

the character sequence to append. If value is null, then the four characters "null" are appended to this Appendable.

Native
abstract fun append(value: CharSequence?): Appendable

Appends the specified character sequence value to this Appendable and returns this instance.

Parameters

value

the character sequence to append. If value is null, then the four characters "null" are appended to this Appendable.

Common
abstract fun append(value: CharSequence?, startIndex: Int, endIndex: Int): Appendable

Appends a subsequence of the specified character sequence value to this Appendable and returns this instance.

Parameters

value

the character sequence from which a subsequence is appended. If value is null, then characters are appended as if value contained the four characters "null".

startIndex

the beginning (inclusive) of the subsequence to append.

endIndex

the end (exclusive) of the subsequence to append.

Throws

or IllegalArgumentException when startIndex or endIndex is out of range of the value character sequence indices or when startIndex > endIndex.

JS
abstract fun append(value: CharSequence?, startIndex: Int, endIndex: Int): Appendable

Appends a subsequence of the specified character sequence value to this Appendable and returns this instance.

Parameters

value

the character sequence from which a subsequence is appended. If value is null, then characters are appended as if value contained the four characters "null".

startIndex

the beginning (inclusive) of the subsequence to append.

endIndex

the end (exclusive) of the subsequence to append.

Throws

or IllegalArgumentException when startIndex or endIndex is out of range of the value character sequence indices or when startIndex > endIndex.

Native
abstract fun append(value: CharSequence?, startIndex: Int, endIndex: Int): Appendable

Appends a subsequence of the specified character sequence value to this Appendable and returns this instance.

Parameters

value

the character sequence from which a subsequence is appended. If value is null, then characters are appended as if value contained the four characters "null".

startIndex

the beginning (inclusive) of the subsequence to append.

endIndex

the end (exclusive) of the subsequence to append.

Throws

or IllegalArgumentException when startIndex or endIndex is out of range of the value character sequence indices or when startIndex > endIndex.