how to read a text file froma special word to word?

Jul 30 2010 7:09 AM
Hi,

i have to read a text file. the content is separated by special word (here it is "GO"). I want to read the content section by section and assign to a string or string builder. take a database script as an example. can anyone help me to come up with a solution.

Regards,
Anushka

sample of the text file:

GO
<some text >

GO
<some text>
GO
<some text>






Answers (2)