String's indexOf method is used to find out index of any character or sub string. indexOf returns -1 if char or substring is not present in the String.
確定! 回上一頁