On Mar 15, 2008, at 6:25 AM, Mr. Gecko wrote:
Hello I have a NSArray with all of the files names in a directory that my user specifies with an Open panel and I am needing to sort it in numeric order like -0 to -9 and 0 to 9 each file does have other things in the name for an example the name of the files are like text-1254.txt, text6578.txt is there a way to make an array with objects such as text-12. txt, text-3.txt, text6.txt, text654.txt be sorted like text-3.txt, text-12.txt, text6.txt, text654.txt
<http://developer.apple.com/documentation/Cocoa/Conceptual/Strings/Articles/SearchingStrings.html# >
mmalc _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]