for example…
NSString string1 = @"Hello world";
NSMutableString string2 = [NSMutableString stringWithString: string1];
then… then can we compare these using following statement..? or there is any other way?
if(string1 isEqualToString:string2)
help me out please…
yes of course. an NSMutableString is an NSString, so your code is perfectly correct, except for some syntax errors (you missed the
*on eachNSStringand the[]on theifstatement. You should write :