public static int countCodePoint ( char source [ ] , int start , int limit ) { if ( source == null || source . length == 0 ) { return 0 ; } return findCodePointOffset ( source , start , limit , limit - start ) ; }
Number of codepoints in a UTF16 char array substring