# How to add fstring in the end of TEXT

**URL:** <https://forums.unrealengine.com/t/how-to-add-fstring-in-the-end-of-text/344920>\
**Category:** UI\
**Tags:** fstring, text, unreal-engine, question, CPP\
**Created:** [January 22, 2016, 8:36am UTC](https://forums.unrealengine.com/t/how-to-add-fstring-in-the-end-of-text/344920 "2016-01-22T08:36:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_14921f86](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_14921f86](https://forums.unrealengine.com/u/anonymous_user_14921f86)\
**Post date:** [January 22, 2016, 8:36am UTC](https://forums.unrealengine.com/t/how-to-add-fstring-in-the-end-of-text/344920/1 "2016-01-22T08:36:49Z")

</div>

FString test = “SM\_Chair.SM\_Chair”;  
static ConstructorHelpers::FObjectFinder Mesh(TEXT(“/Game/StarterContent/Props/”));  
towerMesh-\>SetStaticMesh(Mesh.Object);

How would i be able to add a path (test) that i want to the end of TEXT in object finder?

---

<div class="post-metadata">

**Author:** ![staticvoidlol](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@staticvoidlol](https://forums.unrealengine.com/u/staticvoidlol)\
**Post date:** [January 22, 2016, 8:53am UTC](https://forums.unrealengine.com/t/how-to-add-fstring-in-the-end-of-text/344920/2 "2016-01-22T08:53:53Z")

</div>

I think the following would do the trick:

```
FString test = "SM_Chair.SM_Chair";
FString fullPath = "/Game/StarterContent/Props/" + test;

static ConstructorHelpers::FObjectFinder<UStaticMesh> Mesh(*fullPath);

```

FObjectFinder expects a const TCHAR\*, which you can get by dereferencing FString.
