Append CRLF at the end of a written line

Post your questions and help other users.

Moderator: Martin

Post Reply
Bierset
Posts: 3
Joined: 07 Sep 2013 15:53

Append CRLF at the end of a written line

Post by Bierset » 11 Sep 2013 06:30

Hi,

I have a flow logging certain events on my phone, which runs fine - however, it seems to me that in the "Write to File" Action there is no automatic linefeed/CR append at the end of written line. So, now I have one continous string, which gets hard to read.

I just want to add a "CR/LF" at the end of each line written... how do I achive that ? I can't find a string function wich is returning a character (kinda CHR function) or a global constant which contains CRLF already...

Am I missing something ? Anyone an idea ?

Thank you + Regards
Bierset

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

Re: Append CRLF at the end of a written line

Post by Martin » 11 Sep 2013 16:29

Hi,

The text field in action Write to File should accept multiple lines of text so you can press enter to insert a line break.
Alternatively you can also use an inline expression to insert a newline:
http://automagic4android.com/forum/view ... file#p3605

Regards,
Martin

Post Reply