method
char.chararray.
index
Like find, but raises ValueError when the substring is not found.
find
See also
char.index