i have two strings initialised with using nsstring *name1,*name2... how to compare these
A:
if([name1 isEqualToString:name2]){
NSLog("These are the same name");
}
The best place for API features like this is the Apple documentation
James Raybould
2010-07-28 17:42:46