Truncate With Ellipsis
PureTruncateWithEllipsisTruncates a string and appends '...' if it exceeds MaxLength.
Type: Pure (no side effects)
Category: Fortuna|String & Text
Keywords: string & text
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Input | FString | — | Input parameter |
| MaxLength | int | — | MaxLength parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | FString | ReturnValue output |
Example Use Cases
Example 1
Shorten long player names in a leaderboard.
Example 2
Trim item descriptions for a compact tooltip.