Re: Getting line numbers from an NSString
Re: Getting line numbers from an NSString
- Subject: Re: Getting line numbers from an NSString
- From: Paul Bruneau <email@hidden>
- Date: Fri, 11 Apr 2008 13:30:14 -0400
On Apr 11, 2008, at 1:23 PM, allan greenier wrote:
Greetings,
Have I missed this somewhere in the Cocoa - Foundation api?
If I have an NSString that is multi lined (say in contains "\n"
characters)
is there an api call so I can get line 0, line 1, ect? Or should I
just code that myself?
Hi there-
Yes you missed componentsSeparatedByString: in NSString I think.
_______________________________________________
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