# Verse UI - How to convert strings from exposed properties into messages, to use with SetText()?

**URL:** <https://forums.unrealengine.com/t/verse-ui-how-to-convert-strings-from-exposed-properties-into-messages-to-use-with-settext/836155>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [March 31, 2023, 7:24pm UTC](https://forums.unrealengine.com/t/verse-ui-how-to-convert-strings-from-exposed-properties-into-messages-to-use-with-settext/836155 "2023-03-31T19:24:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DustinREDGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dustinredgames/32/634988_2.png) [@DustinREDGames](https://forums.unrealengine.com/u/DustinREDGames)\
**Post date:** [March 31, 2023, 7:42pm UTC](https://forums.unrealengine.com/t/verse-ui-how-to-convert-strings-from-exposed-properties-into-messages-to-use-with-settext/836155/2 "2023-03-31T19:42:41Z")

</div>

Something like this should work.

Method to convert:  
`StringToMessage<localizes>(value:string) : message = "{value}"`

Set text on widget:  
`WidgetTitle.SetText(StringToMessage(TextTitle))`

---

_[View the full topic](https://forums.unrealengine.com/t/verse-ui-how-to-convert-strings-from-exposed-properties-into-messages-to-use-with-settext/836155)._
