To find the index of a character in a string, use the index() method on the string. For example, let's find the first occurrence of the letter w in a string:.
確定! 回上一頁