I am new to the forum and to vb.net. I have taken a class in it, and have the basic ideas of this language.
I am trying to create a program that lets me input multiple lines of text into a multiline text box, which then will sort through and find data that has only three consecutive lines. Let's say I have an entire database about authors. This database will look something like this:
Mark Twain
"The Adventures of Tom Sawyer"
"A Dog's Tale"
Twain, Mark, pseudonym of Samuel Langhorne Clemens (1835-1910), American writer and humorist, whose best work is characterized by broad, often irreverent humor or biting social satire. Twain's writing is also known for realism of place and language, memorable characters, and hatred of hypocrisy and oppression.
This would continue for a list of authors. I want to be able to copy and paste the entire database (not terribly large) into a text box and output only the authors name and the two lines below it.
ie.
Mark Twain
"The Adventures of Tom Sawyer"
"A Dog's Tale"
So basically this would return authors name's and their two books to a file.
How is the best way to approach this?
I tried looking at the streamreader/writer, but only works for files, as opposed to controls. Could someone give me some tips as to solve this problem?
Thanks for your time,
dahnealdo