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
function isCharacterALetter(char) { return (/[a-zA-Z]/).test(char) }