ID EN
Operators

indexOf

Python 3.11

Return the index of the first of occurrence of b in a.

Syntax

PYTHON
operator.indexOf(a, b)