Which of the following methods is used to get the index within the given string “str” at the first occurrence of the specified substring “str1”?
Reveal answer
Fill a bubble to check yourself
Which of the following methods is used to get the index within the given string “str” at the first occurrence of the specified substring “str1”?