Your question can be interpreted several different ways. If you are looking at a text file that is always formatted the way you have described in your example, you can simply read in the line and split it with space as the delimiter and read the second field.
If you are asking how to find out if a line in a text file that is supposed to contain numbers actually contains a letter, you might need to take a look at using regular expressions. Take a look at Apache's Jakarta Commons library, which includes a regular expression class perfect for validating text data.
If you are asking for a simple way to find all of the non-numeric and non-whitespace characters in a string, you can either do this the brute force way by looping through all the characters in the string and checking them or you can use the above mentioned regular expression class.
Tell me a little more about what you are looking for and I might help.
Comment