/Engine/Source/Runtime/Core/Public/Internationalization/Text.h
You may want to pre-compile yourFTextpattern into aFTextFormatprior to performing formats within a loop or on a critical path, as this can save CPU cycles, memory, and mutex resources vs re-compiling the pattern for each format call. SeeFTextFormatfor more info.FText::Format(LOCTEXT("PlayerNameFmt", "{0} is really cool"), FText::FromString(PlayerName));
The formattedFText
template<typename... ArgTypes> static [FText](API\Runtime\Core\Internationalization\FText) Format ( [FTextFormat](API\Runtime\Core\Internationalization\FTextFormat) Fmt, ArgTypes... Args )