Sorting array of strings by string length
Sorting array of strings by string length
- Subject: Sorting array of strings by string length
- From: Nik Youdale <email@hidden>
- Date: Tue, 21 Feb 2006 09:42:38 +1100
Hi,
How would i go about sorting an array of strings in ascending/
descending order of string lengths. Is there an easy way to do this,
like using something like:
[array sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)],
is there a different selector i could put in there that would sort
the array by string length?
Cheers
- Nik
_______________________________________________
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