Send CR to a text file

Post your questions and help other users.

Moderator: Martin

Post Reply
skiptannen
Posts: 82
Joined: 13 Jan 2014 21:39

Send CR to a text file

Post by skiptannen » 27 May 2014 18:48

Hi, I am writing a flow that appends lines of text to a file (using the action Write to File) and I would like to separate each line with a carriage return. I have not found a way to do this - is there a character string I can put in the text field that would insert a carriage return or new line?

Thank you.


skip

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Send CR to a text file

Post by Martin » 27 May 2014 18:56

Hi,

You could either add a short inline script with {"\n"} or {"\r\n"} which will be replaced by a newline when the action is executed or you could manually add a newline by pressing enter in the text area.

Regards,
Martin

skiptannen
Posts: 82
Joined: 13 Jan 2014 21:39

Re: Send CR to a text file

Post by skiptannen » 27 May 2014 19:03

{"\n"} is just what I was looking for. Thanks for the quick reply - as always!


skip

Post Reply