Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

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
Comment

How to check if a char is a letter

function isCharacterALetter(char) {
  return (/[a-zA-Z]/).test(char)
}
Comment

PREVIOUS NEXT
Code Example
Java :: android videoview setup 
Java :: spring security enable global cors 
Java :: install java 8 arch 
Java :: resource leak java 
Java :: create file from byte array java 
Java :: isnumber java 
Java :: swap function java 
Java :: how to make an activity default in android studio 
Java :: java foreach list 
Java :: get text from edittext android 
Java :: how to print multiple lines in java 
Java :: java checking for null 
Java :: java check how many digits in a number 
Java :: clear array java 
Java :: how to set list data to android spinner 
Java :: sum numbers in array java 
Java :: try catch out of bounds exception java 
Java :: factorial of a number using recursion in java 
Java :: how to reverse a string in java 
Java :: export java home 
Java :: war file vs jar file 
Java :: iterator java 
Java :: make frame visible java 
Java :: enum type spring boot entity 
Java :: java delete directory with files 
Java :: start fragment from activity 
Java :: java load image 
Java :: static int java 
Java :: set java home sdk macbook 
Java :: How to iterate hashmap entries in java 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =