Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FName
Description
Printing FNames in logging or on screen can be problematic when they contain Whitespace characters such as and \r, so this will return an FName based upon the calling FName, but with any Whitespace characters potentially problematic for showing in a log or on screen omitted.
| Name | SanitizeWhitespace |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
| Source | /Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp |
static FString SanitizeWhitespace
(
const FString & FNameString
)
the new FName based upon the calling FName, but with any Whitespace characters potentially problematic for showing in a log or on screen omitted.