\n in result handler xml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

\n in result handler xml

When I extract the following from result handler xml, the \n display as \n in TextArea. How can I extract from result so they are actually line breaks?

<EmailText>Thank you for reporting this to us.\nPlease include the city you are in.</EmailText>

private function onGotResult(event:RestServiceResponse):void {

    var defaultEmailTextValue:String = resultData..EmailText;