Posted By

GunnarHKarlsson on 09/22/11


Tagged

parse html parsing


Versions (?)

parse "&apos: etc to Html


 / Published in: ActionScript 3
 

  1. function toHtml (myString){
  2. htmlString = myString.split("&lt;").join("<");
  3. htmlString = htmlString.split("&gt;").join(">");
  4. htmlString = htmlString.split("&quot;").join("\"");
  5. htmlString = htmlString.split("&apos;").join("\'");
  6. return htmlString;
  7. }

Report this snippet  

You need to login to post a comment.