Re: extracting html from text file
Re: extracting html from text file
- Subject: Re: extracting html from text file
- From: Koen van der Drift <email@hidden>
- Date: Thu, 4 Jul 2002 08:39:35 -0400
Hi, again,
Thanks again everyone for their first responses. I have been doing some
reading last night in the articles from Mike Beam on Oreilly's website (I
still don't have my cocoa book from Amazon). In one of the articles he
writes about a texteditor, for which he uses an NSText class. So I was
wondering for my purpose (opening a text file, scanning it and removing
everything outside the <html> and </html> tags and saving the remainder),
maybe I should use this too, instead of using an NSString. This makes it (I
think) easier to read in the original file, and save the new text file. But
I don't know if NSText has string comparison methods. Is it easy to convert
an NSText to an NSString, or is this not necessary? Or can I load a text
file directly into an NSString and then proceed?
thanks,
- Koen.
_______________________________________________
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.