RealDocs

UKismetStringLibrary::Conv_NameToString

function Engine Blueprint Since unknown
#include "Kismet/KismetStringLibrary.h"
Access: public Specifiers: staticBlueprintPureBlueprintAutocast

Description

Converts an FName to its readable FString form. This is the standard way to get a displayable or concatenable string out of a name value.

Caveats & Gotchas

  • FName comparisons and storage are case-insensitive internally, so the display string returned reflects whichever casing was first registered — later code that constructs the 'same' FName with different casing still converts to the original casing.
  • Each call resolves the name from the global name table; avoid doing this every tick in a hot loop, cache the resulting FString instead.

Signature

static FString Conv_NameToString(FName InName)

Parameters

Name Type Description Default
InName FName The name value to convert.

Return Type

FString

Example

Build a debug label from a name C++
FName TagName("Enemy");
FString Label = UKismetStringLibrary::Conv_NameToString(TagName);
// Label == "Enemy"

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.