Add a new line inside a Text var

Hello, AlFlakky!
I know that it may already be too late, however…

For add new line in editable text variable you will need to enable “Multi Line” from Text variable defaults.

To add a new line, press Shift + Enter.

To insert any value inside your text, add {0}, where 0 is the index of the added Pin from the FormatText node

191067-sc2.png

Result:

191068-sc3.png

19 Likes

You can view them in ObjectMacros.h !
\Engine\Source\Runtime\CoreUObject\Public\UObject

Plus 10,000 for the correct answer!

There are a few ways (workarounds) to do this as i read through this thread…
you can use Format Text node and place text as follows {text1}(Shift+Enter){text2} and place it in a global function as New Line Function with 2 inputs 1 output

you can also use Add New Line Function and add an “Append Text” and place in text you want to append a Shift Enter new line