How to convert html " to " and etc

I receive some dynamic text in flash which is used as html in another usecase, however, i need it as plain text. Is there a function in actionscript (or a library) that lets me decode these characters like " etc.?