ProtoFlux:Count Occurrences

From Resonite Wiki
Count Occurrences
Str
*
Search
ComparisonMode
Strings

Contains is a ProtoFlux node that returns the amount of times Search (String) occurs in Str (String) as a int.

Inputs

Str (String)

The string to search for Search (String) in.

Search (String)

The string to be searching for.

ComparisonMode (StringComparison)

The search method to use when searching.

Outputs

* (int)

The amount of times Search (String) occurs in Str (String).

Examples