I have a scanner which needs to read a recipe text file, specifically line 3.
I want to read all of the words in that line using a delimiter (which I already know how to use).
Though I don't know how to make the scanner stop before going to the next line.
Sample text file.
I'm basically trying to make a counter of how many ingredients I have.