/ Published in: ActionScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function stripTags($myString:String):String { while ((istart = $myString.indexOf("<")) != -1) { $myString = $myString.split($myString.substr(istart, $myString.indexOf(">")-istart+1)).join(""); } return $myString; }
URL: http://www.actionscript.org/forums/showthread.php3?t=76520