Return to Snippet

Revision: 49982
at August 3, 2011 20:18 by xavsio4


Initial Code
function trimLeadZero(s) {
                        return s.replace(/^0+/, "");
                    }

Initial URL

                                

Initial Description

                                

Initial Title
Remove leading zeros from a string

Initial Tags

                                

Initial Language
jQuery