Displaying player made text in a string?

You can use text formatting: Text Localization in Unreal Engine | Unreal Engine 5.1 Documentation

I’m making a single player RPG where you can create a name for your character. right now the character name is saved as a Text variable in Game Instance.
Is there a way to create a String or Text that can get this data? Something along the lines of:

“Hello PlayerNameHere, how are you doing?”

Or do you have to make a [Text line"Hello "] [Text line “get Playername”] [Text line “how are you doing?”]
This way seems harder to implement because it would mean my NPC chat box will have to have different configurations for different NPCs.