Pluralize
PurePluralizeReturns Singular if Count is 1, Plural otherwise. Includes the count in the output (e.g., '1 item' or '3 items').
Type: Pure (no side effects)
Category: Fortuna|String & Text
Keywords: string & text
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Count | int | — | Count parameter |
| Singular | FString | — | Singular parameter |
| Plural | FString | — | Plural parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | FString | ReturnValue output |
Example Use Cases
Example 1
Display '1 enemy' vs '3 enemies' in UI.
Example 2
Format inventory counts naturally.