js 去掉字符串前面的0

<script>var a='00123';alert(a.replace(/\b(0+)/gi,""));</script>
相關文章
相關標籤/搜索