Word Wrap
PureWordWrapWraps text at word boundaries to fit within a maximum line length.
Type: Pure (no side effects)
Category: Fortuna|String & Text
Keywords: string & text
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Text | FString | — | Text parameter |
| MaxLineLength | int | — | MaxLineLength parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | FString | ReturnValue output |
Example Use Cases
Example 1
Format dialogue text for a fixed-width text box.
Example 2
Wrap tooltip text for consistent display.