/ Published in: jQuery
Expand |
Embed | Plain Text
function trimLeadZero(s) { return s.replace(/^0+/, ""); }
You need to login to post a comment.
function trimLeadZero(s) { return s.replace(/^0+/, ""); }
You need to login to post a comment.