Unescape (decode) HTML characters from string in F

2019-05-10 10:40发布

问题:

How can I unescape HTML encoded characters (such as >, <, etc.) from a string, in Flex (AS3)?

So, I have a string "x > 3" and I want the result string as "x > 3".

回答1:

Probably the easiest way is to just send it through a TextArea or other text based component. This will also strip off containing CDATA tags,