Mac Pepe Member Licensed User Longtime User Feb 13, 2015 #1 Hi! I'm stucked trying to create an array of emtpy strings and returning it filled with values. What I wish to do: create a string with "1,a,2,b,etc" and pass it to a function which returns an array with { "1", "a", "2", "b", "etc" } How can it be achieved? Thanks In Advance José Luis
Hi! I'm stucked trying to create an array of emtpy strings and returning it filled with values. What I wish to do: create a string with "1,a,2,b,etc" and pass it to a function which returns an array with { "1", "a", "2", "b", "etc" } How can it be achieved? Thanks In Advance José Luis
Erel B4X founder Staff member Licensed User Longtime User Feb 15, 2015 #2 B4X: Sub Split(s As String) As String() Return Regex.Split(",", s) End Sub Upvote 0
Mac Pepe Member Licensed User Longtime User Feb 15, 2015 #3 Thanks so much I've discovered List as an array similar to CLIPPER's Cheers José Luis Upvote 0