mc_lwcc
September 1, 2022, 8:16pm
1
Is there a way to introduce a new line character in a string variable?
I tried several variations on the new line character but they all resulted in errors.
"\n"
"\\n"
"\\\\n"
I am trying insert a new line between two text variables in a calculator step. Here is the latest iteration of the code:
I decided to break it out into part A and B because it was getting confused with the if then else statement.
I would like for the value of Full_Description to be:
Description_part_A
Description_part_B
Like I said they all resulted in the following error at the calculator step.
navessa
September 2, 2022, 12:56pm
2
Hi Mark,
We’ll investigate and revert.
Kind regards
mc_lwcc
September 2, 2022, 1:05pm
3
So the semicolon issue is not an issue anymore. I had inserted one in the middle of a JSON object. That was the result of the error message.
I still have the question as to how do you insert the new line into a string.
Thanks.
navessa
September 2, 2022, 1:07pm
4
Hi Mark,
Understood. We are still investigating and testing. I’ll revert as soon as we have a solution.
Kind regards
mc_lwcc
September 2, 2022, 1:21pm
5
Sorry to bug you, but everything is good now. I seem to suffer from shooting myself in the foot quite a bit recently. I had variables that were mislabeled so they would never work in the fashion.
I was able to add the new line character. I just have to figure out how to get DevOps to listen to the character.
Thanks again.
navessa
September 2, 2022, 2:19pm
6
Hi Mark,
That’s great! Can you please email me the org name, solution name and flow name? I can have a look and then revert.
You can either send it to support@synatic.com or navessa@synatic.com