While develop your iPhone application, if you want to do string comparisons, use isEqualToString. Example: [text] if ([your_url isEqualToString:@"4 rapid development"]) { NSLog(@"true!!!"); } else { NSLog(@"Opps, return false!!!"); } [/text] Note: below is a WRONG WAY in Xcode: [text] if(your_url == @"4 rapid development") [/text] Feb 28, 2011Hoan Huynh