摘要: js的indexOf,lastIndexOf,slice能帮我们在js字符串处理时少走一些弯路。 程序如下: 输出: host=www.cnblogs.com path=www.cnblogs.com/xiandedanteng/p page=8284680.html 阅读全文
posted @ 2018-03-23 15:04 逆火狂飙 阅读(312) 评论(0) 推荐(0)
摘要: 原创 阅读全文
posted @ 2018-03-23 11:05 逆火狂飙 阅读(2611) 评论(0) 推荐(0)