Re: NSString ambiguities
Re: NSString ambiguities
- Subject: Re: NSString ambiguities
- From: Jens Alfke <email@hidden>
- Date: Thu, 1 Jul 2010 22:16:32 -0700
On Jul 1, 2010, at 4:02 AM, Ariel Feinerman wrote:
> I wish to get the strings from file, exclude some strings and empty strings
> and write them to file, so do you sure these methods are for that?
Yup, they should work for that. They will help you iterate over the lines in the contents, regardless of what line endings are used.
> Can you explain what you suggest by given an example?
Why not read the documentation for those methods (-paragraphRangeForRange:, getParagraphStart:end:contentsEnd:forRange:) first, and try to write some code using them, before asking for more help?
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden