public static int CJKIndexOf ( String str , int offset ) { for ( int j = offset ; j < str . length ( ) ; j ++ ) { if ( isCJKChar ( str . charAt ( j ) ) ) { return j ; } } return - 1 ; }
get the index of the first CJK char of the specified string