Contains
Strings
Contains is a ProtoFlux node that returns if Substring (String) occurs anywhere in Str (String) as a bool.
Inputs
Str (String)
The string to search for Substring (String) in.
Substring (String)
The string to be searching for.
Outputs
* (bool)
Whether or not Str (String) contains at least one occurrence of Substring (String).
Examples
-
an example of using Contains to find if something contains a harmless """banned""" word.