How can I parse a get a char from a string, say i'm reading each letter from a string using substring (String a=line.substring(x,x+1);
//reads one letter at a time
how can i get that one letter to a char?
then from a char to an int?