indexOf 函数在字符串中搜索指定的字符,如果存在,则返回该位置。indexOf函数. ... indexOf('中文'); console.log(index1); var index2 = str1.
確定! 回上一頁