/ Published in: ActionScript 3
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
var myArray:Array = new Array("a", "b", "c", "d", "e", "f");
trace(myArray);
myArray.splice(myArray.indexOf("c"), 1);
trace(myArray);
// OUTPUT
// a,b,c,d,e,f
// a,b,d,e,f
Comments
 Subscribe to comments
                    Subscribe to comments
                
                