# Line break in dynamic text boxes

**URL:** https://forum.kirupa.com/t/line-break-in-dynamic-text-boxes/325097
**Category:** flash
**Created:** [September 26, 2011, 2:20pm UTC](https://forum.kirupa.com/t/line-break-in-dynamic-text-boxes/325097 "2011-09-26T14:20:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![silverneo188](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@silverneo188](https://forum.kirupa.com/u/silverneo188)
#### Post date: [September 26, 2011, 2:20pm UTC](https://forum.kirupa.com/t/line-break-in-dynamic-text-boxes/325097/1 "2011-09-26T14:20:24Z")

</div>

Is there a way to create a linebreak in a dynamic txt box. Something like this

```php
line1="1st sentence";
line2="2nd sentence";
line3="Space space i'm in space!;";
linebreak= //however you do one

listbox.text = line1 + linebreak + line2 + line break + line3;

```

The output would be

> 1st sentence  
> 2nd sentence  
> Space space i’m in space!

Any help would be appreciated =)
