How to turn into new line in Activity[comment]

Maybe this problem is not very important and a little simple, please forgive me .
The commnet I write use activity[commnet] is hard to turn into a new line.It seems not very clear if I want to write a long commnet.I can’t find out the answer by myself

Regards,Leo

No Worries
we can include
yourstring+Environment.NewLine+yourstring

this will add a new line between those two strings
hope this would help you
Cheers @LeoGao

%E5%9B%BE%E7%89%87
Sorry,it doesn’t work. What 's wrong with me:worried:

I wonder that should work actually
Even I referred now for some other related posts

Hmm may I know what was the error we were facing or can we try using this expression in a write line activity and check for the output in the output panel
Kindly share that screenshot as well

Cheers @LeoGao


In [Write Line ],it can work actually,output expression is Text(String),we need add quotation on both sides.
In [Comment ],it’s already String,we only need type the text without quotation.
So Environment.NewLine is inappropriate here,it’s the core of the problem.
But this method I really didn’t know before,thank yo for your help.
cheers @Palaniyappan

1 Like

Fantastic
Cheers @LeoGao

Yah if it’s a variable then we don’t need to mention them between double quotes
But if it’s a string literal then we need to mention them between double quotes
That’s what even I suggested here

@LeoGao

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.