Evaluate using string operator?


var operator:String = "*";

trace(10 operator 10); //returns 100, you get the idea...

The obvious solution is just a big fat switch / case statement based off the operator, but I’m curious if there is a more graceful way you could do it.