Re: Take part of a string
Re: Take part of a string
- Subject: Re: Take part of a string
- From: Andreas Monitzer <email@hidden>
- Date: Sun, 2 Jun 2002 22:25:34 +0200
On Sunday, June 2, 2002, at 10:17 , malcom wrote:
I have a NSString object with many text. Every block contained in this
object ends with a return character. I would to take the x block (where
x is
an arbitrary number of block) and parse it as I would... Can I do this?
How?
[[manytext componentsSeparatedByString:@"\r"] objectAtIndex:x]
might be a bit inefficient though (depends on your needs)
andy
--
DigiTunnel Public Beta released, offering full PPTP-support for Mac OS X!
http://www.gracion.com/vpn/
_______________________________________________
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.