public static boolean isLatin ( String str , int beginIndex , int endIndex ) { for ( int j = beginIndex ; j < endIndex ; j ++ ) { if ( ! isEnChar ( str . charAt ( j ) ) ) { return false ; } } return true ; }
check if the specified string is all Latin chars