SyntaxFix
Write A Post
Hire A Developer
Questions
I would use the Number() function:
var str = "00001"; str = Number(str).toString();
>> "1"
Or I would multiply my string by 1
var str = "00000000002346301625363"; str = (str * 1).toString();
>> "2346301625363"