I need to check if the character is a letter or a space before moving on with processing. So i
for (Character c : take.toCharArray()) { if (!(Character.isLetter(c) || Character.isSpaceChar(c))) continue; data.append(c);
As soon as I looked through the data, I saw that it contains characters that look like single-code character representations due to the Latin alphabet. How can I change the above code to fix my conditions, to accept only letters that fall into the range [az] [AZ]?
Is Regex a way, or is there a better (faster) way?
source share