Counts the number of occurrences of a substring within the string.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| String | The string to search within. Primary Input | String |
| Substring | The substring to count occurrences of. Default: | String |
| Overlapping | Whether to count overlapping occurrences, using the substring as a sliding window. For example, "aa" occurs twice in "aaaa" without overlapping but three times with overlapping. Default: | bool |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | f64 |