Hmm I don't this it's that involved.

The following is a snippet from WROX VB.net Text Manipulation Handbook.. This is to split

Dim inputstring as string = "123,abc,456,def"
dim splitresults as string
dim string element as string
splitresults = regex.splut(inputstring, ",")
for each stringelement in splitresults
results += stringelement & controlchars.crlf
next

Then inside the for each loop you throw it into the array. once in the array then parse the array and then put it back together. Do yourself a HGUE favor and get this book. I recommend it to EVERYONE that needs to manipulate text in vb.net