The String class has a split method that will help you separate the words in the String you read.Quote:
how to get Java to separate the int from the char and determine what char it is.
How you do the split depends on the format of the String.
The String class has several other methods for finding and getting at sub parts of a String.
The Integer class has methods for converting Strings to integers.