UKismetTextLibrary::TextToLower
#include "Kismet/KismetTextLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Transforms the text to lowercase in a culture-correct way.
Caveats & Gotchas
- • The returned instance stays linked to the original and is rebuilt automatically if the active culture changes, so don't treat it as a frozen snapshot the way a string conversion would be.
- • Culture-correct casing can behave differently than a naive ASCII lowercase for some locales (e.g. Turkish 'I'), which is the reason to use this over manual string manipulation.
Signature
static FText TextToLower(const FText& InText) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InText | const FText& | The text to transform. | — |
Return Type
FText Example
Normalize a display label for comparison C++
FText Label = GetItemNameText();
FText LowerLabel = UKismetTextLibrary::TextToLower(Label); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?