//compiler/edu.cornell.cs.apl.viaduct.util/graphemeClusterCount
graphemeClusterCount¶
[jvm]
Content
fun CharSequence.graphemeClusterCount(): Int
More info
Number of grapheme clusters (i.e. user-perceived characters) in the string.
This is a better way to measure a string's length than using CharSequence.length