I remember that in PHP, there was a nice little function that breaks apart a string. For example:
$string = “1||2||3”;
var_dump(explode(’||’, $string));
How would I do this in Actionscript? Here’s what I have so far:
xVals = new Array();
newstuff = new Array();
xVals[1] = 20;
xVals[1] = xVals[1] + "," + 40;
so,
xVals[1] = 20,40;
newstuff = explode(’,’, xVals[1]));
Any help would be greatly appeciated, thanks
~Matt