Thanks Ken and Steve, for the variety of clean solutions you offered. Just out of curiosity, I should like to return to a point mentioned by Ken :
>If you must work character-by-character, >use character constants (e.g. >'0' or '9') In that (unlikely) situation, how would I test, say, equality of characters ? For example, if I needed to know whether character number j in aString is '7', writing ([aString characterAtIndex:j]=='7') wouldn't work, would it ? Ewan _______________________________________________ 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 arch...@mail-archive.com