Course contentsShow
Python
Lesson 150 of 1,2893. StringsPro lesson

`.index(sub)`

Like find but raises ValueError if absent.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.