Ok
Is there a function like substr() that will work on an integer? for example, var numbr = 2011; var newnum = numbr.substr(2, 2);