If you are trying to find the first index, you can use indexOf: [code=javascript] var str = 'This is a string', index; index = str.
確定! 回上一頁