• 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
NSPredicate - case/diacritic insensitive equals predicate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPredicate - case/diacritic insensitive equals predicate?


  • Subject: NSPredicate - case/diacritic insensitive equals predicate?
  • From: Jim Correia <email@hidden>
  • Date: Mon, 12 Jun 2006 17:18:59 -0400

I need to write a predicate which does a case/diacritic equals comparison. It doesn't appear that the [cd] modifiers are supported on anything other than the string comparisons, and the string comparisons don't offer the basic equals operator.

key.path LIKE[cd] x

where x has * and ? escaped appears to do the trick.

Is there a more direct solution which I've missed?

Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: IB: Maintaining bindings when copying controls
  • Next by Date: Cocoaheads meeting Lake Forest tomorrow, 6/13; free stuff again
  • Previous by thread: Re: Creating Shared Named Objects
  • Next by thread: Cocoaheads meeting Lake Forest tomorrow, 6/13; free stuff again
  • Index(es):
    • Date
    • Thread