Re: NSScanning backwards through a string
Re: NSScanning backwards through a string
- Subject: Re: NSScanning backwards through a string
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 4 Mar 2003 16:08:26 -0800
On Tuesday, March 4, 2003, at 02:40 AM, Chaffinch wrote:
Hi,
I have an index into a string and want to scan backwards for the first
non-alpha character. Can I do this using an NSScanner?
You probably want to do this with NSString's
-rangeOfCharacterFromSet:options: method.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.