1 Reply Latest reply on Feb 17, 2009 9:15 PM by Gregory Lafrance

    help me doing loop

      hi everybody!
      i'm new in flex and really need your help..
      currently, i need to develop tool that need to upload logs and split into several categories.
      but, it just split only one sentences in that logs.
      i need to use loop statement?
      can u all give some example?
      this is my coding..

      var stringToSplit:String = myText.text
      var result:Array = stringToSplit.split(" ");
      var Split:LogReader = new LogReader();
      Split.ip = result[0];
      Split.date = result[3] + result[4];
      Split.method = result[5];
      Split.info = result[6] + result[7];
      Split.status = result[8];