Array and Arraylist

Discussion in 'Questions (Windows Mobile)' started by junglejet, Feb 8, 2009.

  1. junglejet

    junglejet Active Member Licensed User

    Now that I have worked with arrays so far

    array1()=strsplit(...,..,..)

    I wanted to add one additional item to array1.

    I know I can do this with arraylist.add(..) but I don't know how to do that with the array.

    If I use arraylist I cannot assign the result of the strsplit function like arraylist()=

    Anybody any help?

    :sign0085:
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Maybe you can add a "dummy" value to the string and then modify the last value.
     
  3. junglejet

    junglejet Active Member Licensed User

    I have now split the string into an array and then added the items to the arraylist one by one.

    Thanks
    Andy
     
Loading...
  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