定义和用法. indexOf() 方法可返回某个指定的字符串值在字符串中首次出现的位置。 ... <script type="text/javascript"> var str="Hello world!" document.write(str.
確定! 回上一頁