Reading only sections of a text file
Does anyone know how to do this?
Here is my text file:
I want the program to ask for a number. Once you put in a number it will display the text of a sertain section. It will be able to tell the differences between sections becouse after every section there is two breaks in a row that have no text before them. And depending on what number you put in it displays that section.
This is a note // This is the begining of section 1
This comes too
This is the second note // This is the begining of section 2
and it follows