Android Question Creating, passing as parameter and returning an Array

Discussion in 'Android Questions' started by Mac Pepe, Feb 13, 2015.

  1. Mac Pepe

    Mac Pepe Member Licensed User


    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
  2. Erel

    Erel Administrator Staff Member Licensed User

    Sub Split(s As StringAs String()
    Return Regex.Split(",", s)
    End Sub
  3. Mac Pepe

    Mac Pepe Member Licensed User

    Thanks so much :)
    I've discovered List as an array similar to CLIPPER's
    José Luis
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice