Re: catching whitespace with scanner
Re: catching whitespace with scanner
- Subject: Re: catching whitespace with scanner
- From: "Adam R. Maxwell" <email@hidden>
- Date: Wed, 06 May 2009 22:12:36 -0700
On May 6, 2009, at 10:05 PM, Daniel Child wrote:
I'm trying to catch whitespace between words with a scanner. For
some reason, the white space is not being recognized.
Am I missing something obvious or is there a bug here? Thanks.
NSScanner skips whitespace and newlines by default. Use
setCharactersToBeSkipped:nil to get the behavior you're looking for.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden