Re: figuring out the length of a string
Re: figuring out the length of a string
- Subject: Re: figuring out the length of a string
- From: Andreas Mayer <email@hidden>
- Date: Fri, 25 Jun 2004 15:37:46 +0200
Am 25.06.2004 um 11:21 schrieb Louis C. Sacha:
There is a single unique instance of CFNull,
... which is identical to [NSNull null] fortunately, ...
so you can use pointer equality...
if (someString == kCFNull) {return @"";}
or
if (someString == [NSNull null])
Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.