A hack if all fails: (?)

var stringWithHtmlLits:String = "< its ok >";

var t:TextField = new TextField();
t.htmlText = stringWithHtmlLiterals;

var nonLits:String = t.text;

--- In [email protected], Greg Hess <flexeff...@...> wrote:
>
> Ah, I believe those HTML entities. You may find support in some HTML
utils...
> 
> 
> On Fri, Jan 30, 2009 at 3:57 PM, luvfotography
> <ygro...@...> wrote:
> > Hi, thanks, but that doesn't work. I need something to decode the
> > literals, such as '&lt', '&quot', &iacute, etc.
> >
> > --- In [email protected], Greg Hess <flexeffect@> wrote:
> >>
> >> The global function unescape(str) might be what you are looking
for if
> >> you need to decode a URL-encoded string.
> >>
> >> HTH,
> >>
> >> Greg
> >>
> >> On Fri, Jan 30, 2009 at 2:32 PM, luvfotography
> >> <ygroups@> wrote:
> >> > Is there a function to html decode a string?
> >> >
> >> > I want to translate &Iacute to the single character i with the
accent.
> >> > thanks,
> >> >
> >> >
> >>
> >
> >
>


Reply via email to