# How to reverse text from 'Get Display Name'

**URL:** <https://forums.unrealengine.com/t/how-to-reverse-text-from-get-display-name/464031>\
**Category:** UI\
**Tags:** reverse, text, unreal-engine, question\
**Created:** [April 21, 2020, 1:03am UTC](https://forums.unrealengine.com/t/how-to-reverse-text-from-get-display-name/464031 "2020-04-21T01:03:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobH2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/robh2/32/496965_2.png) [@RobH2](https://forums.unrealengine.com/u/RobH2)\
**Post date:** [April 21, 2020, 1:03am UTC](https://forums.unrealengine.com/t/how-to-reverse-text-from-get-display-name/464031/1 "2020-04-21T01:03:01Z")

</div>

I have a BP that pulls the name from a photo file and displays it over the photo. The photo is in an array of 100s of photos of people that are named ‘lastName firstName.jpg’. Like, ‘Jones Larry.jpg’ UE4 assets add an ‘\_’ in the space between the names.

What displays over the photo of each person, for example, is ‘Baker\_Jessica’. I’d like to reverse the name and hide the ‘\_’.

Is this possible? I’ve attached something that shows how it looks in runtime on the left and what I’d like to see on the right. I’ve attached my BP also.

 ![300216-jb.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/6/436b376515660cf1c306cbc217c4f99dd420ad03.jpeg)

---

<div class="post-metadata">

**Author:** ![BamaGame](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BamaGame](https://forums.unrealengine.com/u/BamaGame)\
**Post date:** [April 21, 2020, 1:48am UTC](https://forums.unrealengine.com/t/how-to-reverse-text-from-get-display-name/464031/2 "2020-04-21T01:48:04Z")

</div>

for each text, if you have just 1 “\_” maybe I can help you  
you must just connect that texture display name to source string and in Str just type \_ . and the result of  
append to set text.

 ![300217-string.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/a/d2ac49bc87e6f8968c6efbfb691400b9d0a2c322.png)

---

<div class="post-metadata">

**Author:** ![RobH2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/robh2/32/496965_2.png) [@RobH2](https://forums.unrealengine.com/u/RobH2)\
**Post date:** [April 21, 2020, 2:20am UTC](https://forums.unrealengine.com/t/how-to-reverse-text-from-get-display-name/464031/3 "2020-04-21T02:20:11Z")

</div>

This is fantastic. I searched through all the nodes and never found this one. This looks like it’s exactly what I need. Thank you very much…

Update: Worked perfectly and by adding an additional ‘Append’ I figured out how to had the space back between the names.

Thanks again!
