offsetByCodePoints

fun offsetByCodePoints(a: CharArray, start: Int, count: Int, index: Int, codePointOffset: Int): Int

Returns the index within the given char subarray that is offset from the given index by codePointOffset code points.

Return

the index within the subarray

Since

1.5

Parameters

a

the char array to be indexed

start

the index of the first char of the subarray

count

the length of the subarray in chars

index

the index to be offset and converted

codePointOffset

the number of code points to offset by