Function: contains()
Returns true (1) if a string contains another string.
Syntax
contains(string, stringToLookFor)
Argument | Type | Description |
---|---|---|
string | String | The string to search |
stringToLookFor | String | The string to look for |
Examples
contains("Hello PhixFlow", "Cent")
contains() finds a match and returns 1.
contains("Hello PhixFlow", "cent")
contains() does not find a match and returns 0.