13 Replies Latest reply: Nov 20, 2008 4:19 AM by 807589 RSS

    Convert a string to an array/collection

    796220
      Hi,
      I have a string
      String s = "[ab,cd,ef,gh]";
      How can I convert this into a string array , arraylist or vector such that ab, cd, ef, gh are the elements of the array/collection.

      Please help.
      Any help in this regard will be well appreciated with dukes.

      Regards,
      Anees