Hi all,
I cant figure out how to "search" what a sting contains. So say I am using the Scanner command to find user impute. I want to see if what the user typed contains the word "no" or the word "yes"? how would I go about doing that?? I cant find anything in the Java docs... (probibly not looking in the right place lol). All I really need is a command like .contains("yes") or something like that... (if that's it I will kill my self...)(contains doesn't work...) lol
Thank you all!!
deathpk