private static boolean isTextSplitable(String text,int index){
  char c0=text.charAt(index);
  char c1=text.charAt(index + 1);
  if (isLetter(c0) && isLetter(c1)) {
    return false;
  }
 else {
    return !NumberExpander.isDigit(c0) || !NumberExpander.isDigit(c1);
  }
}

private static boolean isTextSplitable ( String text , int index ) { char c0 = text . charAt ( index ) ; char c1 = text . charAt ( index + 1 ) ; if ( isLetter ( c0 ) && isLetter ( c1 ) ) { return false ; } else { return ! NumberExpander . isDigit ( c0 ) || ! NumberExpander . isDigit ( c1 ) ; } }
determines if the character at the given position of the given input text is splittable . a character is splittable if : < p / > 1 ) the character and the following character are not letters in the english alphabet ( a - z and a - z ) < p / > 2 ) the character and the following character are not digits ( 0 - 9 ) < p / >
