If I am passed a string, say "potato" and i'm running a program that say, if there is a "p" in the string I print some kind of message, how would I check to see if there is a "p" in said string? I know I just need to break up the string and do an if statement and I think it has something to do with stringTokenizers, but i'm not sure how to do it.
In particular, you should look at the docs for the String class. As Nigel says, the indexOf() method will serve your purposes well, unless you are required to implement this on your own for a class assignment. In that case, you may need to use charAt() instead. I think StringTokenizer will be overkill since String already provides the functionality that you need.