在中找到“你好”
your_string
if (your_string.indexOf('hello') > -1){ alert("hello found inside your_string");}
上一篇 如何在JavaScript中实现堆栈和队列?
下一篇 无法在IE中的tbody上设置innerHTML
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号