Although all of the above are well and good....it would probably be easier to simply use the built in .net string class methods to do what you need.
System.String can do what you need and the documentation can be found here - http://msdn.microsoft.com/library/de...lasstopic.asp.
More specifically look at the split method of the string class - http://msdn.microsoft.com/library/de...splittopic.asp
