Count Occurrences
PureCountOccurrencesCounts how many times a substring appears in the input string.
Type: Pure (no side effects)
Category: Fortuna|String & Text
Keywords: string & text
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Input | FString | — | Input parameter |
| Substring | FString | — | Substring parameter |
| bIgnoreCase | bool | true | bIgnoreCase parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | int | ReturnValue output |
Example Use Cases
Example 1
Count keyword mentions in chat log.
Example 2
Count vowels in a word puzzle.