Vérifiez si Char est le numéro Java
Character.isDigit(str.charAt(i));
Bad Buffalo
Character.isDigit(str.charAt(i));
Character.isDigit(string.charAt(index)) //(JavaDoc) will return true if it's a digit
Character.isLetter(string.charAt(index)) //(JavaDoc) will return true if it's a letter