# EndofLine versus chr(13) problem

**URL:** <https://forum.xojo.com/t/endofline-versus-chr-13-problem/31829>\
**Category:** Getting Started\
**Created:** [June 6, 2016, 10:58pm UTC](https://forum.xojo.com/t/endofline-versus-chr-13-problem/31829 "2016-06-06T22:58:37Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Kem\_Tekinay](https://forum.xojo.com/user_avatar/forum.xojo.com/kem_tekinay/32/154_2.png) [@Kem\_Tekinay](https://forum.xojo.com/u/Kem_Tekinay)\
**Post date:** [June 7, 2016, 8:45pm UTC](https://forum.xojo.com/t/endofline-versus-chr-13-problem/31829/21 "2016-06-07T20:45:11Z")

</div>

Open the constant editor and press the Tab key once to insert a tab.

---

<div class="post-metadata">

**Author:** ![DaveS](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@DaveS](https://forum.xojo.com/u/DaveS)\
**Post date:** [June 7, 2016, 8:50pm UTC](https://forum.xojo.com/t/endofline-versus-chr-13-problem/31829/22 "2016-06-07T20:50:59Z")

</div>

> [@270485:@Kem Tekinay](#):
>
> Open the constant editor and press the Tab key once to insert a tab.

that was awkward, but it did work (I didn’t think it would)  
you have to create a constant, tell it that its a STRING (normally it guesses),  
click on the 3 little dots that appear (AFTER you say its a string)  
Press TAB, then click OK

Another way it to enter &u0009 and change the type FROM String to NUMBER  
yeah… it does work as a string. I tried it 🙂

---

<div class="post-metadata">

**Author:** ![Kem\_Tekinay](https://forum.xojo.com/user_avatar/forum.xojo.com/kem_tekinay/32/154_2.png) [@Kem\_Tekinay](https://forum.xojo.com/u/Kem_Tekinay)\
**Post date:** [June 7, 2016, 8:56pm UTC](https://forum.xojo.com/t/endofline-versus-chr-13-problem/31829/23 "2016-06-07T20:56:04Z")

</div>

> [@270487:@Dave S](#):
>
> Another way it to enter &u0009 and change the type FROM String to NUMBER

A number! That was the trick I was forgetting.

FYI, in code, &u#### will statically insert the Unicode code point ####. In Dave’s example, &u9 will define Unicode code point 9, or the Tab.

---

<div class="post-metadata">

**Author:** ![Steve\_Hill](https://forum.xojo.com/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@Steve\_Hill](https://forum.xojo.com/u/Steve_Hill)\
**Post date:** [June 7, 2016, 8:56pm UTC](https://forum.xojo.com/t/endofline-versus-chr-13-problem/31829/24 "2016-06-07T20:56:15Z")

</div>

Thank you very much for your help - actually, setting a tab as a constant has caused me problems since back in the RealBasic days, but I’ve never really tried to get to the bottom of it before. Cheers!

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:20pm UTC](https://forum.xojo.com/t/endofline-versus-chr-13-problem/31829/25 "2020-10-29T18:20:59Z")

</div>



[Previous page](https://forum.xojo.com/t/endofline-versus-chr-13-problem/31829.md?page=1)
