[AS2] removing zero's

hi, can someone help me with this??

I’ve built a dynamic generating quiz

the user enters their answer into a input box and then presses a button to check their answer… this all work fine except that if the answer is say 5, if they enter 05 it still marks it correctly

is there a way to either strip away the 0 from their anwer when then press the check button or just mark it wrong??

thanks for any help