Re: NSString Parsing
Re: NSString Parsing
- Subject: Re: NSString Parsing
- From: Alan Hart <email@hidden>
- Date: Mon, 28 Oct 2002 20:54:02 +0000
On Monday, October 28, 2002, at 07:26 pm, Peer Allan wrote
What I want to do is extract all the text from in between a pair or
tags
(<td>...</td> for example). I know I could use a rangeOfString: call
to get
the first one, but then I have to create a new string with the
remaining
data and call rangeOfString: again to get the next and on and on until
the
whole string is parsed. I hope there is a better way to do this.
Did you look at - (NSArray *)componentsSeparatedByString:(NSString
*)separator in NSString?
(Sorry if this has already been resolved - I get the digest.)
-- Alan
_______________________________________________
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.