Re: Smart sort
Re: Smart sort
- Subject: Re: Smart sort
- From: Andreas Mayer <email@hidden>
- Date: Mon, 27 Nov 2006 16:59:46 +0100
Am 27.11.2006 um 16:12 Uhr schrieb Martin:
Is there a simple way to do this ?
Yes. See NSString's -compare:options:... methods and this option:
----
NSNumericSearch
Numbers within strings are compared using numeric value, that is,
Foo2.txt < Foo7.txt < Foo25.txt.
This option only applies to compare methods, not find.
Available in Mac OS X version 10.2 and later.
----
Andreas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
References: | |
| >Smart sort (From: Martin <email@hidden>) |