I need to read in a file that starts out with 10 (the number of quotes I have) followed by all my quotes.I am going to use %% to indicate the start of a new quote. The user should be able to input 7 and it will go to the 7th quote (just a FYI for ways to read the file in).
How would I go about doing this?
I was going to use
File file = new File("C:\\MyFile.txt");
but what do you guys think would be the best way to read this in and be able to go to the quote that's desired?
Thanks for your input,