concatToString

Common
fun CharArray.concatToString(): String

Concatenates characters in this CharArray into a String.

Since Kotlin

1.4
fun CharArray.concatToString(): String

Concatenates characters in this CharArray into a String.

Since Kotlin

1.4
JS
fun CharArray.concatToString(): String

Concatenates characters in this CharArray into a String.

Since Kotlin

1.4
Native
fun CharArray.concatToString(): String

Concatenates characters in this CharArray into a String.

Since Kotlin

1.3
Common
fun CharArray.concatToString(startIndex: Int = 0, endIndex: Int = this.size): String

Concatenates characters in this CharArray or its subrange into a String.

Since Kotlin

1.4

Parameters

startIndex

the beginning (inclusive) of the subrange of characters, 0 by default.

endIndex

the end (exclusive) of the subrange of characters, size of this array by default.

Throws

if startIndex is less than zero or endIndex is greater than the size of this array.

fun CharArray.concatToString(startIndex: Int = 0, endIndex: Int = this.size): String

Concatenates characters in this CharArray or its subrange into a String.

Since Kotlin

1.4

Parameters

startIndex

the beginning (inclusive) of the subrange of characters, 0 by default.

endIndex

the end (exclusive) of the subrange of characters, size of this array by default.

Throws

if startIndex is less than zero or endIndex is greater than the size of this array.

JS
fun CharArray.concatToString(startIndex: Int = 0, endIndex: Int = this.size): String

Concatenates characters in this CharArray or its subrange into a String.

Since Kotlin

1.4

Parameters

startIndex

the beginning (inclusive) of the subrange of characters, 0 by default.

endIndex

the end (exclusive) of the subrange of characters, size of this array by default.

Throws

if startIndex is less than zero or endIndex is greater than the size of this array.

Native
fun CharArray.concatToString(startIndex: Int = 0, endIndex: Int = this.size): String

Concatenates characters in this CharArray or its subrange into a String.

Since Kotlin

1.3

Parameters

startIndex

the beginning (inclusive) of the subrange of characters, 0 by default.

endIndex

the end (exclusive) of the subrange of characters, size of this array by default.

Throws

if startIndex is less than zero or endIndex is greater than the size of this array.