• 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
NSString character manipulation...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString character manipulation...


  • Subject: NSString character manipulation...
  • From: Hsu <email@hidden>
  • Date: Mon, 1 Jul 2002 00:24:44 -0700

Hullo,

Is it safe to do something like:

if ( (isalnum([myNSString characterAtIndex:0])) || ([myNSString characterAtIndex:0] == '.') ) {
// blah blah
}

Or am I going to have false positives because of unicode characters?

Karl

--

The day Microsoft makes something that doesn't suck is the day they start making vacuum cleaners.

Homepage:
http://homepage.mac.com/khsu/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.

  • Follow-Ups:
    • Re: NSString character manipulation...
      • From: Greg Titus <email@hidden>
    • Re: NSString character manipulation...
      • From: Ondra Cada <email@hidden>
  • Prev by Date: how to do "View as icon"?
  • Next by Date: Centering an Image in an NSScrollView
  • Previous by thread: how to do "View as icon"?
  • Next by thread: Re: NSString character manipulation...
  • Index(es):
    • Date
    • Thread