Thanks for your detailed effort, Julius, but, I'm afraid you do not understand.
I need to be able to arbitrarily truncate and html string to maintain a stable length, without damaging the html to the point of mucking up flash's ability to render it. I don't want to strip anything, I need to remove old collections of the html data safely. -Jayson > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Julius - XK > Sent: Tuesday, January 17, 2006 4:45 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] efficient htmltext.reduce() function? > orsimilaridea? > > Why not just strip out tags ya don't need? Using regex strip out > all "<font*>" and "</font>" and/or the "<b></b>" and "<i></i>" > stuff.. When I first started reading this thread I was thinking along > the lines of real optomizing.. Say ya got: > "<font face='verdana'><b><i>some <font face='verdana'><b>text</b></font> > </i></b></font>" _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

