Re: NSScanner to find multiple occurrences of a prefix?
Re: NSScanner to find multiple occurrences of a prefix?
- Subject: Re: NSScanner to find multiple occurrences of a prefix?
- From: Jerry Krinock <email@hidden>
- Date: Mon, 12 Sep 2011 08:34:31 -0700
On 2011 Sep 12, at 07:01, Devraj Mukherjee wrote:
> Can I ask NSScanner to keep looking for multiple occurrences?
Use something like
while (![scanner isAtEnd])
{
// your code
}
And be careful to consider all possibilities so you can't get an infinite loop._______________________________________________
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