方法一:使用indexOf()和lastIndexOf()方法案例:varCts="bblText"; if(Cts.indexOf("Text")>=0){ alert('Cts中包含Text字符串'); }indexOf用法:返回String对象内第一 ...
確定! 回上一頁