Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue

contains(string, stringToLookFor) Returns true (1) if a string contains another string.

Function: contains()

Returns true (1) if a string contains another string.

...

contains(string, stringToLookFor)

ArgumentTypeDescription
stringStringThe string to search
stringToLookForStringThe string to look for

Examples

contains("Hello PhixFlow", "CentPhix")

contains() finds a match and returns 1.

contains("Hello PhixFlow", "centphix")

contains() does not find a match and returns 0.

...