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

VB Code:
  1. dim groups() as string = text.Split(vbcrlf & vbcrlf)
but that only splits it line by line

If I have to I will just do it manually but I was hoping I could do this with Split

Thanks