kanaida Active Member Licensed User Longtime User Nov 26, 2011 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Nov 26, 2011 #2 See this search result: Basic4android Search: Split