Hello,
I have to send a SMS message during logic process in my app, in this message I have to concatenate several text notifications and variables.
I want to split the message into several sections with carrige return in between, meaning like press enter and continue the message such as:
“An error was occur in order 123, material 345
Gas composition of CO2 - 21, O2 - 0.31 in first check
In second check - CO2 - 23, O2 - 0.32”
If you had a way to split those lines by a symbol in the expression text, it would be great or a ready function to do so.
I’m not sure if you’ve tried this, but you can split strings in the expression editor to be on different lines by holding shift and pressing enter within the expression editor.
So in your case, I would split it into three strings, and at the start of the second and third string, I’d put the starting quote, then press shift+enter and put the text on the next line.
Here’s an example image. You’d hit shift+enter where the red arrows are:
Hi,
Thank you for your quick help, this will cause the expression to be much more readable but will not change the result in the recieved SMS by the user mobile phone, my suggestion was to make the SMS more readable
Work is actually happening right now around this exactly, how do we better display strings with complex formatting and dynamic data. I shot this thread their way as another example case we need to handle better.
Keep the pain points coming and we will keep knocking em down!
Pete