Simplest way to drop the last element from an array

snipped by Haxd

Working with Arrays 101

"Never underestimate the dark side of the force"

var myArray:Array = ["Ford","GM","BMW","Volkswagen"];
var myCar:String = myArray.pop();
 
// myArray now == ["Ford","GM","BMW"]
// myCar now == "Volkswagen"