Home
/
Python 3.11
/
Operators
/
indexOf
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Operators
indexOf
Python 3.11
Return the index of the first of occurrence of b in a.
Syntax
PYTHON
Copy
operator.indexOf(a, b)