Re: Stripping HTML tags
Re: Stripping HTML tags
- Subject: Re: Stripping HTML tags
- From: Scott Anguish <email@hidden>
- Date: Fri, 14 Mar 2003 00:57:47 -0500
On Thursday, March 13, 2003, at 10:21 PM, Jeffrey Mattox wrote:
At 8:48 PM -0500 3/13/03, sinclair44 wrote:
On 3/12/03 10:16 PM, "Sherm Pendley" <email@hidden> wrote:
> You might try creating an NSAttributedString with the HTML
> (-initWithHTML:documentAttributes:), and then use the string:
method to
get a plain string out of it.
Worked like a charm. Thanks!
I sure would like to see more about this (I don't understand the
attributes). Could you post the actual snippet that did the trick?
\
NSAttributedStrings can load HTML. AttibutedStrings basically have
attributes (font, link, paragraph, lots of others, plus you can add
your own) assigned to ranges of text.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.