CodeQL library for Java/Kotlin
codeql/java-all 0.9.2-dev (changelog, source)
Search

Predicate getCodepointLength

Gets the number of unicode codepoints in s not counting unpaired surrogates.

Import path

import codeql.util.Strings
int getCodepointLength(string str)