FROM : Mr. Gecko
DATE : Sat Mar 15 14:25:37 2008
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
If you understand what I mean.
Thanks for any help,
Mr. Gecko
DATE : Sat Mar 15 14:25:37 2008
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
If you understand what I mean.
Thanks for any help,
Mr. Gecko
| Related mails | Author | Date |
|---|---|---|
| Mr. Gecko | Mar 15, 14:25 | |
| I. Savant | Mar 15, 14:34 | |
| mmalc crawford | Mar 15, 16:07 | |
| Christopher Nebel | Mar 17, 17:58 | |
| I. Savant | Mar 17, 18:03 |






Cocoa mail archive

