摘要: js判断是否包含字符串var str="Hello world!"var s = str.indexOf("Hello") 存在则s>-1不存在则是s<0; 阅读全文
posted @ 2014-03-04 15:22 樱花飞落ll 阅读(268) 评论(0) 推荐(0)