3 Replies Latest reply on Feb 4, 2009 5:26 PM by ww00

    split a string into array

    ww00
      hye...
      could anybody help me with this...

      I got this line of codes in flex;
      var queryStr:String = '127.0.0.1 - - [15/Sep/2008:10:37:14 -0700]';
      var params:Array = queryStr.split(" ");

      i want to split them into array like this: 127.0.0.1 [15/Sep/2008:10:37:14 -0700]
      its like two columns.

      could anyone help..