• 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
NSScanner problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSScanner problem


  • Subject: NSScanner problem
  • From: "Peter Karlsson" <email@hidden>
  • Date: Sat, 2 Oct 2004 10:48:39 +0200

Dear list!

I have a NSString looking like this:

"5, Apple, Cocoa, Macintosh, Programmer, Development"

I want to extract the strings in a loop, example:

First I get the string "5", then the string "Apple", then the string
"Cocoa" and so on. I think this is a job for NSScanner, can someone please
tell me how?

Best regards Peter

_______________________________________________
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

  • Follow-Ups:
    • Re: NSScanner problem
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: NSScanner problem
      • From: J Tichenor <email@hidden>
  • Prev by Date: Re: Scripting and objectSpecifier issue
  • Next by Date: Fwd: Problems with NSFileHandle and à/ò/ì... chars
  • Previous by thread: Re: Scripting and objectSpecifier issue
  • Next by thread: Re: NSScanner problem
  • Index(es):
    • Date
    • Thread