2008年6月11日
摘要: 去除所有空格: str = str.replace(/\s+/g,""); 去除两头空格: str = str.replace(/^\s+|\s+$/g,""); 阅读全文
posted @ 2008-06-11 17:21 上校 阅读(1617) 评论(1) 推荐(0)