摘要:
varstr:String="adffjkljaaaaalkkkkjhhhfffl";vararr:Array=str.split("");//split(delimiter:*, limit:Number = 0x7fffffff):Array//将 String 对象拆分为一个子字符串数组,trace(str)for(vari:int=0;i<arr.length-1;i++){for(varj:int=i+1;j<arr.length;j++){if(arr[i]==arr[j]){arr[j]="";}else{b 阅读全文