offset By Code Points
Начиная с Kotlin: 1.0
inline fun String.offsetByCodePoints(index: Int, codePointOffset: Int): Int
Возвращает индекс в этой строке, смещённый относительно заданного индекса на codePointOffset кодовых точек.
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.text/offset-by-code-points.html