UKismetTextLibrary::TextToUpper
#include "Kismet/KismetTextLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Transforms the text to uppercase in a culture-correct way.
Caveats & Gotchas
- • Like TextToLower, the result stays linked to the source text and re-derives itself if the active culture changes at runtime.
- • For culture-invariant text (e.g. identifiers created via MakeInvariantText), the casing conversion still applies but there is no localization benefit over a plain string uppercase.
Signature
static FText TextToUpper(const FText& InText) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InText | const FText& | The text to transform. | — |
Return Type
FText Example
Emphasize a title in a widget C++
FText Title = GetSectionTitleText();
FText UpperTitle = UKismetTextLibrary::TextToUpper(Title);
TitleTextBlock->SetText(UpperTitle); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?