Make your phone or tablet smarter with automation

Get it on Google Play


number indexOf(container, value, startIndex)

Returns the index where value is found in container.

  • An array container is searched for an element which equals value.
  • A text container is searched for an subsection that match value (case-sensitive).


  1. containerarray or text to search for value.
  2. value — array element or text subsection to search for.
  3. startIndex — optional index in container where to start searching. 0 if omitted.


  • index (≥ 0) in container where the value is found, -1 otherwise.
Note! This documentation is also accessible within the app from Help & feedback menu.