Examveda
Examveda

Which of the following methods is used to find the index of the first occurrence of a substring in a string?

A. index()

B. find()

C. search()

D. locate()

Answer: Option B


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python