Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

contains

number contains(container, value, flags)

Returns 1 if the array, dictionary or text contains value.

Flags:

FlagDescription
"i"Case-insensitive matching when comparing text (US-ASCII only)
"iu"Case-insensitive matching when comparing text (Unicode, preferred)
"u"Unicode-aware case folding
"k"Search for a matching dictionary entry key, not value

Parameters

  1. containerarray, dictionary or text to search for value.
  2. value — value to seach for.
  3. flags — optional text where each character is a flag.

Returns

  • 1 if value is found in the container, 0 otherwise.
Note! This documentation can also be found in the Help & feedback menu of the app.