Re: NSScanner woes
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.