Create Count Occurrences ProtoFlux Node Page |
m YoshBot moved page ProtoFlux:Count Occurrences to ProtoFlux:CountOccurrences: Automated: removing spaces from ProtoFlux namespace |
(No difference)
|
Latest revision as of 23:48, 20 August 2025
Count Occurrences
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)
Examples
-
an example of using Count Occurrences To iterate over a string with a For Loop to remove stuff that begins with '<' and ends with '>' but has random text between the two. Also uses Index Of String for '>' to skip over the random text between.