重写trim
String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"");}
轉載于:https://www.cnblogs.com/leamiko/archive/2011/05/09/2041356.html
總結
- 上一篇: poj 3042
- 下一篇: Fedora配置网络DHCP