in reply to extract an operator from a string

print `echo "@ARGV" | bc -l`;

And no, I'm not being serious ;-)