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]
i know that i can use the "white space" as a delimiter in this case,but what i want to know is,where should i paste the above codes?whether it should be in the <mx:script> or what??other thing is,do i have to declare an array before i paste this codes?
thank you so much in advance....
