Hi
I have a text file that contains groups of data like this
group 1
one
two
three
group 2
four
fiev
six
group 3
etc
...
I have the entire text file loaded into a string and I want to extract the 'groups' of data into serperate string variables.
How can I use the Split statement to do this?
I thought I would have been able to use
but that only splits it line by lineVB Code:
dim groups() as string = text.Split(vbcrlf & vbcrlf)
If I have to I will just do it manually but I was hoping I could do this with Split
Thanks


Reply With Quote
