# AS2: Line breaks in String

**URL:** <https://forum.kirupa.com/t/as2-line-breaks-in-string/274699>\
**Category:** flash\
**Created:** [November 3, 2008, 9:22am UTC](https://forum.kirupa.com/t/as2-line-breaks-in-string/274699 "2008-11-03T09:22:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lilleypants](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Post date:** [November 3, 2008, 9:22am UTC](https://forum.kirupa.com/t/as2-line-breaks-in-string/274699/1 "2008-11-03T09:22:51Z")

</div>

I have been making a string by adding textfield values together for example:

\_global.String1 = \_global.String1 + \_root.textfield1;

This is fine and it adds but it puts a line break in for some reason - Is there any reason why it would be doing this and how to get around it?
