char.
find
For each element, return the lowest index in the string where substring sub is found.
Calls str.find element-wise.
str.find
For each element, return the lowest index in the string where substring sub is found, such that sub is contained in the range [start, end].
Optional arguments start and end are interpreted as in slice notation.
Output array of ints. Returns -1 if sub is not found.
See also