ProtoFlux:Contains

From Resonite Wiki
Contains
Str
*
Substring
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