Can anyone suggest me how to check if a String contains full width characters in Java? Characters having full width are special characters.
String
Java
You can compare the UNICODE Since unicode for alphabets (a-z) is 97-122 , So you can easily diffrentiate between the two
UNICODE
97-122
String str="abc@gmail.com"; System.out.println((int)str.charAt(0));
for Input
abc@gmail.com
Output
65345