javascript search and replace prefix zero
Posted
by Bharanikumar
on Stack Overflow
See other posts from Stack Overflow
or by Bharanikumar
Published on 2010-05-31T11:45:08Z
Indexed on
2010/05/31
11:52 UTC
Read the original article
Hit count: 226
JavaScript
|jQuery
Hi ,
i have few numbers like
0011,0101,0123,1234,5245,0052,3265,0047,0124
How replace prefix zero only,
like no number should start with zero ,
exactly like
0011 should be 11 , 0101 should be 101 , 0123 should be 123
How to do this ?
Is ther any javascript function there ,
Thanks
© Stack Overflow or respective owner