How do i get a string to start on a new line on output, \n and
doesn’t work and i need it for C++ not ‘shift + enter’ in Blueprint
AFAIK there is no way to do it within the line. \n and /n dont work,
doesnt work.
I fixed my problem by using the shift + enter method in blueprint and sending that string to my code but as i was doing that i found that if i copied the BP node an pasted it in test i got this in between the lines " \r\ " i haven’t tried it but maybe that is the new \n.
#Solution
UE4 has a macro called LINE_TERMINATOR, globally accessible.
You can use that where you’d normally use ‘\n’ to get the desired result
#
Rama
2 Likes
Use to translate to a new line “\r”. Work with FText.