# Unable to add a Newline to output a text file

**URL:** https://www.finalbuilder.com/forums/t/unable-to-add-a-newline-to-output-a-text-file/7045
**Category:** Discussion
**Created:** [May 19, 2021, 12:24am UTC](https://www.finalbuilder.com/forums/t/unable-to-add-a-newline-to-output-a-text-file/7045 "2021-05-19T00:24:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![greg](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.finalbuilder.com/forums/u/greg)
#### Post date: [May 19, 2021, 12:24am UTC](https://www.finalbuilder.com/forums/t/unable-to-add-a-newline-to-output-a-text-file/7045/1 "2021-05-19T00:24:53Z")

</div>

Trying to build a text file by starting with a variable set to and empty string and adding values (a string with a newline) to it. However, I found no way of doing it. String Add Breaks does not have an “End of String” option which would be best. I tried selecting “Instead of String” and placing it in a variable named CRLF but doing a string concatenation with %CRLF% would not not work either. For now, I had to result to just using a pipe character as a delimiter and writing out the file. The app consuming the file has to properly parse this delimiter rather than doing a normal text file read.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [May 19, 2021, 12:30am UTC](https://www.finalbuilder.com/forums/t/unable-to-add-a-newline-to-output-a-text-file/7045/2 "2021-05-19T00:30:25Z")

</div>

Hi Greg

The Append to Variable action is probably what you need for this.

BTW, I moved this topic to FB discussion as it’s not a continua issue.

---

<div class="post-metadata">

### Author: ![greg](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.finalbuilder.com/forums/u/greg)
#### Post date: [May 19, 2021, 11:24am UTC](https://www.finalbuilder.com/forums/t/unable-to-add-a-newline-to-output-a-text-file/7045/3 "2021-05-19T11:24:16Z")

</div>

Sorry for mis-classification. Append to Variable action worked like a charm. Thanks.
