copyOfRange
Returns a new array which is a copy of the specified range of the original array.
Since Kotlin
1.0Parameters
fromIndex
the start of the range (inclusive) to copy.
toIndex
the end of the range (exclusive) to copy.
Returns a new array which is a copy of the specified range of the original array.
the start of the range (inclusive) to copy.
the end of the range (exclusive) to copy.
Thanks for your feedback!