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 search for.
  3. flags — optional text where each character is a flag.

Returns

  • 1 if value is found in container, 0 otherwise.
Note! This documentation is also accessible within the app from Help & feedback menu.