Hi, I'm very new to java and am a bit lost really.
I'm working with a String called 'sentence', which equals "the quick brown fox jumped over the lazy dog."
How can I query this, asking if the sentence includes the word "fox", printing the result as "Yes", or "No if "fox isn't part of the sentence? Would this have to be done in an array, or am I way off the mark?
Thanks in advance!