• 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: NSScanning backwards through a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSScanning backwards through a string (From: Chaffinch <email@hidden>)

  • Prev by Date: OT: Installer/PackageMaker .info
  • Next by Date: weird linking error while building framework
  • Previous by thread: Re: NSScanning backwards through a string
  • Next by thread: NSButtonCell's background color
  • Index(es):
    • Date
    • Thread