Core API – Kotlin Programming Language (original) (raw)
toCharArray
Returns a CharArray containing characters of this string.
Since Kotlin
1.4
Returns a CharArray containing characters of this string or its substring.
Since Kotlin
1.4
startIndex
the beginning (inclusive) of the substring, 0 by default.
endIndex
the end (exclusive) of the substring, length of this string by default.
Copies characters from this string into the destination character array and returns that array.
Since Kotlin
2.0
destinationOffset
the position in the array to copy to.
startIndex
the start offset (inclusive) of the substring to copy.
endIndex
the end offset (exclusive) of the substring to copy.
Copies characters from this string builder into the destination character array.
Since Kotlin
1.4
destinationOffset
the position in the array to copy to, 0 by default.
startIndex
the beginning (inclusive) of the range to copy, 0 by default.
endIndex
the end (exclusive) of the range to copy, length of this string builder by default.
Returns a CharArray containing characters of this string.
Since Kotlin
1.4
Returns a CharArray containing characters of this string or its substring.
Since Kotlin
1.4
startIndex
the beginning (inclusive) of the substring, 0 by default.
endIndex
the end (exclusive) of the substring, length of this string by default.
Copies characters from this string into the destination character array and returns that array.
Since Kotlin
2.0
destinationOffset
the position in the array to copy to.
startIndex
the start offset (inclusive) of the substring to copy.
endIndex
the end offset (exclusive) of the substring to copy.
Copies characters from this string builder into the destination character array.
Since Kotlin
1.4
destinationOffset
the position in the array to copy to, 0 by default.
startIndex
the beginning (inclusive) of the range to copy, 0 by default.
endIndex
the end (exclusive) of the range to copy, length of this string builder by default.
Returns a CharArray containing characters of this string.
Since Kotlin
1.0
Returns a CharArray containing characters of this string or its substring.
Since Kotlin
1.4
startIndex
the beginning (inclusive) of the substring, 0 by default.
endIndex
the end (exclusive) of the substring, length of this string by default.
Copies characters from this string into the destination character array and returns that array.
Since Kotlin
1.0
destinationOffset
the position in the array to copy to.
startIndex
the start offset (inclusive) of the substring to copy.
endIndex
the end offset (exclusive) of the substring to copy.
Copies characters from this string builder into the destination character array.
Since Kotlin
1.4
destinationOffset
the position in the array to copy to, 0 by default.
startIndex
the beginning (inclusive) of the range to copy, 0 by default.
endIndex
the end (exclusive) of the range to copy, length of this string builder by default.
Returns a CharArray containing characters of this string.
Since Kotlin
1.3
Returns a CharArray containing characters of this string or its substring.
Since Kotlin
1.3
startIndex
the beginning (inclusive) of the substring, 0 by default.
endIndex
the end (exclusive) of the substring, length of this string by default.
Copies characters from this string into the destination character array and returns that array.
Since Kotlin
2.0
destinationOffset
the position in the array to copy to.
startIndex
the start offset (inclusive) of the substring to copy.
endIndex
the end offset (exclusive) of the substring to copy.
Copies characters from this string builder into the destination character array.
Since Kotlin
1.4
destinationOffset
the position in the array to copy to, 0 by default.
startIndex
the beginning (inclusive) of the range to copy, 0 by default.
endIndex
the end (exclusive) of the range to copy, length of this string builder by default.
Returns a CharArray containing characters of this string.
Since Kotlin
1.8
Returns a CharArray containing characters of this string or its substring.
Since Kotlin
1.8
startIndex
the beginning (inclusive) of the substring, 0 by default.
endIndex
the end (exclusive) of the substring, length of this string by default.
Copies characters from this string into the destination character array and returns that array.
Since Kotlin
2.0
destinationOffset
the position in the array to copy to.
startIndex
the start offset (inclusive) of the substring to copy.
endIndex
the end offset (exclusive) of the substring to copy.
Copies characters from this string builder into the destination character array.
Since Kotlin
1.8
destinationOffset
the position in the array to copy to, 0 by default.
startIndex
the beginning (inclusive) of the range to copy, 0 by default.
endIndex
the end (exclusive) of the range to copy, length of this string builder by default.
Returns a CharArray containing characters of this string.
Since Kotlin
1.8
Returns a CharArray containing characters of this string or its substring.
Since Kotlin
1.8
startIndex
the beginning (inclusive) of the substring, 0 by default.
endIndex
the end (exclusive) of the substring, length of this string by default.
Copies characters from this string into the destination character array and returns that array.
Since Kotlin
2.0
destinationOffset
the position in the array to copy to.
startIndex
the start offset (inclusive) of the substring to copy.
endIndex
the end offset (exclusive) of the substring to copy.
Copies characters from this string builder into the destination character array.
Since Kotlin
1.8
destinationOffset
the position in the array to copy to, 0 by default.
startIndex
the beginning (inclusive) of the range to copy, 0 by default.
endIndex
the end (exclusive) of the range to copy, length of this string builder by default.