I have a program that I download a text file that has multiple lines in the following style:
This is the title.
Verse 1
This is the first line
This is the second line
Verse 2
This is the first line
This is the second line
I can parse the text file to some degree but what I really need is to be able to read the first line and add a new record and then read the next line and know if the next line is Verse 1 or Verse 2 and then add the next lines to the record. I am not sure how to loop through correctly.
Thank you for your time and information.
Sincerely,
Keith Kelly