ProtoFlux:CountOccurrences

From Resonite Wiki
Revision as of 23:48, 20 August 2025 by YoshBot (talk | contribs) (YoshBot moved page ProtoFlux:Count Occurrences to ProtoFlux:CountOccurrences: Automated: removing spaces from ProtoFlux namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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