• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa-dev Digest, Vol 3, Issue 151
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 3, Issue 151


  • Subject: Re: Cocoa-dev Digest, Vol 3, Issue 151
  • From: Koen van der Drift <email@hidden>
  • Date: Tue, 31 Jan 2006 21:35:07 -0500


On Jan 31, 2006, at 8:07 PM, email@hidden wrote:

If your strings are separated by a single space you could use the
following code:

NSArray * result = [yourString componentsSeparatedByString:@" "];

Then you could use NSScanner to skip the period in every object of
result.

Yep, componentsSeparatedByString was one of the things I tried, but I also need to get rid of the preceding text and the two brackets, so it's a bit more complicated.


- Koen.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSTask, environment and ... X11
  • Next by Date: Re: multiple iSight stream same time?
  • Previous by thread: Re: About Universal Binaries...
  • Next by thread: Smart Groups in Address Book
  • Index(es):
    • Date
    • Thread