I have a string
var s:String = "This is a line \n This is another line.";
this.txtHolder.text = s; //.text has \n, not a new line
and i want to put it into a text area, but the new line character is ignored. How can i ensure that the text breaks where i want it to when its assigned?
On flex, while coding
\nis working well onmxmlor anyxmlto define a line just use
line entity.I mean:
gives us