摘要:function trim(str){ //删除左右两端的空格 return str.replace(/(^\s*)|(\s*$)/g, ""); }
阅读全文
posted @ 2009-01-21 14:03
posted @ 2009-01-21 14:03
posted @ 2008-08-04 12:13
posted @ 2008-07-22 17:33