UKismetStringLibrary::ToUpper
#include "Kismet/KismetStringLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns a copy of SourceString converted to upper case.
Caveats & Gotchas
- • Case conversion follows FString's internal locale-independent rules, which can behave unexpectedly for some non-ASCII characters (e.g. Turkish dotless i).
- • Returns a new string; SourceString itself is left unmodified.
Signature
static FString ToUpper(const FString& SourceString) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| SourceString | const FString& | The string to convert. | — |
Return Type
FString Example
Normalize input for a case-insensitive command match C++
FString Command = UKismetStringLibrary::ToUpper(RawInput); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?