Bucky
Well-known member
In the never-ending quest to ditch the old VB6 way of doing
things, Im now trying to figure out how to use String.Split like
the old Split$ function.
Using Split$, a delimeter could be another String, not only one
character. The String.Split method, however, only wants to take
a Char as a delimeter. I tried converting a string into a Char
array, but that treated each and every Char as a delimeter. Oops.
Nothing is wrong with using Split$, and Im forced into using it for
now, but as I mentioned, the world would be a much better place
if we all got along and used VB.NETs features.
So how can I use String.Split and pass another String as a delimeter?
things, Im now trying to figure out how to use String.Split like
the old Split$ function.
Using Split$, a delimeter could be another String, not only one
character. The String.Split method, however, only wants to take
a Char as a delimeter. I tried converting a string into a Char
array, but that treated each and every Char as a delimeter. Oops.
Nothing is wrong with using Split$, and Im forced into using it for
now, but as I mentioned, the world would be a much better place
if we all got along and used VB.NETs features.

So how can I use String.Split and pass another String as a delimeter?