Answers for "how to check if letter is in"

3

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
Posted by: Guest on July-27-2020
1

python check if character is letter

>>> 'A'.isalpha()
True
>>> '1'.isalpha()
False
Posted by: Guest on October-19-2020

Code answers related to "how to check if letter is in"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language