# Read File into a variable loses the carriage returns!

**URL:** https://www.finalbuilder.com/forums/t/read-file-into-a-variable-loses-the-carriage-returns/1000
**Category:** Discussion
**Created:** [October 8, 2008, 8:40am UTC](https://www.finalbuilder.com/forums/t/read-file-into-a-variable-loses-the-carriage-returns/1000 "2008-10-08T08:40:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![diegogarcia](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/diegogarcia/32/105_2.png) [@diegogarcia](https://www.finalbuilder.com/forums/u/diegogarcia)
#### Post date: [October 8, 2008, 8:40am UTC](https://www.finalbuilder.com/forums/t/read-file-into-a-variable-loses-the-carriage-returns/1000/1 "2008-10-08T08:40:08Z")

</div>

Hi guys I'm reading an file in a variable but the variable seens to lose the line breaks and the carriage returns !

How can I fix that ?

Regards,  
Diego Garcia

---

<div class="post-metadata">

### Author: ![diegogarcia](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/diegogarcia/32/105_2.png) [@diegogarcia](https://www.finalbuilder.com/forums/u/diegogarcia)
#### Post date: [October 8, 2008, 11:04am UTC](https://www.finalbuilder.com/forums/t/read-file-into-a-variable-loses-the-carriage-returns/1000/2 "2008-10-08T11:04:27Z")

</div>

I write my app that outputs the text to put some extra cr and lf it jumps an line but it works.   
  
 Maybe you guys can take a look at this problem since the file in the notepad is opened right !   
  
 Regards,   
 Diego Garcia
