|
 |
Monday, June 3, 2002 |
Comparing NSStrings numerically provides source code for an NSString category which compares strings with embedded numbers. For example, it will sort a list of filenames as
pic1.gif, pic8.gif, pic9.gif, pic12.gif
instead of sorting them as
pic1.gif, pic12.gif, pic8.gif, pic9.gif as a more traditional comparison would.
10:27:06 PM
|
|
© Copyright 2002 Jeff Gilbert.
|
|
 |
 |
 |
 |
| June 2002 |
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
|
|
|
|
|
1 |
| 2 |
3 |
4 |
5 |
6 |
7 |
8 |
| 9 |
10 |
11 |
12 |
13 |
14 |
15 |
| 16 |
17 |
18 |
19 |
20 |
21 |
22 |
| 23 |
24 |
25 |
26 |
27 |
28 |
29 |
| 30 |
|
|
|
|
|
|
| May Jul |
|
 |
 |
 |
 |
|