Re: kCFCompareNumerically
Re: kCFCompareNumerically
- Subject: Re: kCFCompareNumerically
- From: Sam Goldman <email@hidden>
- Date: Sun, 13 Jan 2002 23:24:21 -0800
I don't have code on hand and I am not sure on how kCFCompareNumerically is
supposed to behave, but (at least for that example) you could use a
NSScanner and then compare the numbers.
- Sam
On 1/13/02 10:11 PM, "Steve Gehrman" <email@hidden> wrote:
>
According to the comments in CFString...
>
>
"kCFCompareNumerically is currently ignored in the Compare routines."
>
>
Does anyone have code that will compare NSStrings numerically ie:
>
Foo2.txt < Foo7.txt < Foo25.txt
>
>
Thanks!
>
>
-steve
>
_______________________________________________
>
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.