摘要: 替换换行符:title = title.replace(/[\r\n/]/g,'').replace(/[\n]/g,'').replace(/[\r\n/]/g,'').replace(/[\n]/g,''); 查找字符串:a="hello string";a.indexOf("string"); 阅读全文
posted @ 2014-10-18 20:50 长城的草 阅读(106) 评论(0) 推荐(0) 编辑