hi, I want to write many variables to a file in sequence, for example the file.txt must contain the text from variables in this format:
text1 text2 text3 text4....
using the write to file action, I use the variable in this format:
{t1}[space]{t2}[space]{t3}[space]{t4}...
the texts results in multiple lines instead of sequentially, like this:
text1
text2
text3
......
instead can I get it in
text1 text2 text3 text4....? thanks
action write to file with many variables
Moderator: Martin
Re: action write to file with many variables
I've tried it and it seems to work.
- Attachments
-
- file.txt
- Result
- (25 Bytes) Downloaded 673 times
-
- Screenshot_2015-11-23-16-25-51.png (164.64 KiB) Viewed 10931 times
Re: action write to file with many variables
Doesn't work for me, texts comes always in column like there was a return key at the end of each text
Re: action write to file with many variables
Maybe the variables already contain a newline character. Does it work when you use {trim(t1)} {trim(t2)}...?
Regards,
Martin
Regards,
Martin
Re: action write to file with many variables
Thanks martin, worked, trim command cleaned the text