I have a string \"BC+D*E-\". I want to check each character of the string whether it is an alphabet or not. I tried using isLetter() but it does consider even the = , * and
for (char c : "BC+D*E-".toCharArray())
{
int value = (int) c;
if ((value >= 65 && value <= 90) || (value >= 97 && value <= 122))
{
System.out.println("letter");
}
}
You can find ASCII table here: http://www.asciitable.com/