On Jun 26, 2008, at 6:16 PM, William Squires wrote:
Actually, "if ([myString length] == 0)" is probably better, but just IMHO... :)
No; don't ever do that. It is possible for an NSString to have zero length but not be empty. See <http://www.cocoabuilder.com/archive/message/cocoa/2004/7/5/111029 > for details.
Nick Zitzmann <http://www.chronosnet.com/> _______________________________________________ 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]