W3cubDocs

/Kotlin

codePointCount

inline fun String.codePointCount(
    beginIndex: Int, 
    endIndex: Int
): Int

Platform and version requirements: JVM

Returns the number of Unicode code points in the specified text range of this String.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/code-point-count.html