jquery判斷字符串中是否包含特定字符的方法總結 方法一:使用indexOf() 和lastIndexOf()方法 案例: indexOf用法: 注意: 方法二:使用test() 方法 實例:在下面 ...