StringTokenizer? Convert the String to a char[] and iterate over that? Something else?
StringTokenizer
String
char[]
Two options
for(int i = 0, n = s.length() ; i < n ; i++) { char c = s.charAt(i); }
or
for(char c : s.toCharArray()) { // process c }
The first is probably faster, then 2nd is probably more readable.