In this example, we take two strings: str and searchString , and find the index of first occurrence of the search string in this string, using indexOf() method.
確定! 回上一頁