Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
:confused:

Code:
if (myString != nil && ![myString isEqualToString:@""])
{
}

Due to the fundamental rules of C this is safe to do: if the first comparison fails the second will not get executed.

In all honesty, and please don't take this the wrong way, if you need to ask this it's time to step back and learn the basics properly.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.