# New line ("\\n") being ignored

**URL:** <https://forum.kirupa.com/t/new-line-n-being-ignored/276338>\
**Category:** Uncategorized\
**Created:** [November 25, 2008, 11:11pm UTC](https://forum.kirupa.com/t/new-line-n-being-ignored/276338 "2008-11-25T23:11:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![forumSteve](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@forumSteve](https://forum.kirupa.com/u/forumSteve)\
**Post date:** [November 25, 2008, 11:11pm UTC](https://forum.kirupa.com/t/new-line-n-being-ignored/276338/1 "2008-11-25T23:11:32Z")

</div>

I’m loading some text from XML into a class variable. When using the variable to set the text of a Textfield instance, the "  
" is ignored. Any idea why?

My workaround is:

textfield.text = object.name.split( "[URL="file://\ "]  
" ).join( "  
" );

Is there a better solution?
