method
Like find, but raises ValueError when the substring is not found.
find
ValueError
See also
char.index
© 2005–2024 NumPy DevelopersLicensed under the 3-clause BSD License. https://numpy.org/doc/2.4/reference/generated/numpy.char.chararray.index.html