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

Re: NSScanner woes


  • Subject: Re: NSScanner woes
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Wed, 26 May 2004 14:01:35 +0200

At 23:55 Uhr -0500 24.05.2004, Mark A. Stratman wrote:
Sure enough, the NSLog message gets printed. The second 'if' shows that there is, indeed, a "\r\n" at the scan location... but it's not getting scanned.

What gives? Any ideas? I'm assuming that I'm missing something painfully obvious, and hopefully somebody here can pick it up.

NSScanner has a method for specifying the character set of characters to be skipped. Set that to an empty character set, that might fix your problem. At least that's what I did in a similar case.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.


References: 
 >NSScanner woes (From: "Mark A. Stratman" <email@hidden>)

  • Prev by Date: monitoring retainCount
  • Next by Date: Re: Changing the desktop picture
  • Previous by thread: Re: NSScanner woes
  • Next by thread: installing a product with xcode
  • Index(es):
    • Date
    • Thread