# Find all arguments in FText

**URL:** <https://forums.unrealengine.com/t/find-all-arguments-in-ftext/348652>\
**Category:** C++\
**Tags:** FText, unreal-engine, question, CPP\
**Created:** [February 25, 2016, 5:23pm UTC](https://forums.unrealengine.com/t/find-all-arguments-in-ftext/348652 "2016-02-25T17:23:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatzeOGH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MatzeOGH](https://forums.unrealengine.com/u/MatzeOGH)\
**Post date:** [February 25, 2016, 5:23pm UTC](https://forums.unrealengine.com/t/find-all-arguments-in-ftext/348652/1 "2016-02-25T17:23:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jamie\_Dale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamie_dale/32/1165413_2.png) [@Jamie\_Dale](https://forums.unrealengine.com/u/Jamie_Dale)\
**Post date:** [February 25, 2016, 5:32pm UTC](https://forums.unrealengine.com/t/find-all-arguments-in-ftext/348652/2 "2016-02-25T17:32:21Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Jamie\_Dale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamie_dale/32/1165413_2.png) [@Jamie\_Dale](https://forums.unrealengine.com/u/Jamie_Dale)\
**Post date:** [February 25, 2016, 5:34pm UTC](https://forums.unrealengine.com/t/find-all-arguments-in-ftext/348652/3 "2016-02-25T17:34:19Z")

</div>

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

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

```

---

<div class="post-metadata">

**Author:** ![MatzeOGH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MatzeOGH](https://forums.unrealengine.com/u/MatzeOGH)\
**Post date:** [February 25, 2016, 5:57pm UTC](https://forums.unrealengine.com/t/find-all-arguments-in-ftext/348652/4 "2016-02-25T17:57:05Z")

</div>

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