tags:

views:

49

answers:

1

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