java if character is a letter code example
Example 1: how to check if there is a character in a string java
String.contains()
Example 2: how to check if a char is a letter java
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