I was using this in my iPhone app
if (title == nil) { // do something }
but it throws some exception, and the console shows that the ti
Complete checking of a string for null conditions can be a s follows :<\br>
if(mystring) { if([mystring isEqualToString:@""]) { mystring=@"some string"; } } else { //statements }