import mx.utils.StringUtil;

msg = StringUtil.trim(event.result.toString());

--- In [email protected], Jairo França (Yahoo) <jairofrancaal...@...> 
wrote:
>
> I'm using Flex with PHP.
> 
> I got a return from a HTTPService in the following way:
> 
>  
> 
> private function httpResult(event:ResultEvent):void {
> 
>  
> 
> var msg:String;
> 
>                         
> 
>                         
> 
>       msg = event.result.toString();
> 
> }
> 
>  
> 
> The problem is that msg is not an empty string. In fact is the following
> ascii sequence (CRLF): 13, 10, 9.
> 
> How can i get an empty string or test this ascii sequence?
>


Reply via email to