Missing strings.split(Expression,Delimiter)

kanaida

Active Member
Licensed User
Longtime User
I can't seem to find an equivalent to this:


Dim FoodText as string = "Bread,Hamburger,Drink"
Dim ListOfFood() = FoodText.split(",")

that would give me an array with 3 items in it.

The reverse also has a function:

Dim DisplayText as string = ListOfFood.join(vbcrlf)

That would take the array and join it into a string with whatever char I tell it to delimit with.
 
Top