Find all arguments in FText

Is there a way of getting all arguments from a FText property?

Do you mean that you have a text property of, for example, “Hello {Name}. Today is {Date}” and you want to be able to know that the arguments “Name”, and “Date” exist in the text?

We have FText::GetFormatPatternParameters, it’s what UK2Node_FormatText uses.

TArray<FString> ArgumentParams;
FText::GetFormatPatternParameters(YourText, ArgumentParams);
1 Like

Thats exactly what I need. Now I feel stupid for not finding it myself. Thanks