var goodsStr:String = "ssss1,ssss2";
var goodArr:Array = new Array();
goodArr = goodsStr.split(",",goodsStr.length);
for(var i:int = 0;i<goodArr.length;i++){
trace(goodArr[i]);
}
时间: 2024-10-18 02:12:07
var goodsStr:String = "ssss1,ssss2";
var goodArr:Array = new Array();
goodArr = goodsStr.split(",",goodsStr.length);
for(var i:int = 0;i<goodArr.length;i++){
trace(goodArr[i]);
}