/
contains

contains

Function: contains()

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

Syntax

contains(string, stringToLookFor)

ArgumentTypeDescription
stringStringThe string to search
stringToLookForStringThe string to look for

Examples

contains("Hello PhixFlow", "Phix")

contains() finds a match and returns 1.


contains("Hello PhixFlow", "phix")

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

See Also

Related content

listToString
listToString
Read with this
contains
More like this
listContains
listContains
Read with this
contains
contains
More like this
Functions
Functions
Read with this
contains
contains
More like this