Quote Originally Posted by keang
If you want to check individual characters to see if they are letters, digits, whitespace, control characters etc you can convert the string to a char array using the toCharArray() method...
Alternatively, you can access them directly from the string using the String.charAt(index) method, e.g. Character.isDigit(myString.charAt(0)).

Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration...
S. Kelly-Bootle