Return to Snippet

Revision: 23840
at February 15, 2010 08:31 by adrianparr


Initial Code
function stripTags($myString:String):String
{
	while ((istart = $myString.indexOf("<")) != -1)
	{
		$myString = $myString.split($myString.substr(istart, $myString.indexOf(">")-istart+1)).join("");
	}
	return $myString;
}

Initial URL
http://www.actionscript.org/forums/showthread.php3?t=76520

Initial Description

                                

Initial Title
AS2 Remove HTML Tags from Text

Initial Tags
html, text

Initial Language
ActionScript