Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.

Paste

Pasted as Plain Text by Nsmutablearray ( 13 years ago )
NSLog(@"reverseStr1 : %@", reverseStr1);
    NSLog(@"stringVlaues : %@", stringVlaues);
    if ([reverseStr1 isEqualToString:stringVlaues])
   {
        
   }
Here i have compare the Nsmutablestring and Nsstring. Here "reverseStr1" is NsmutableString and "stringVlaues" is Nsstring
this below if condition is am comparing that both. I got the values are same in both Nslog. but i the if condition is not executing only the else part is executing. What am did wrong here. Please tell me

 

Revise this Paste

Your Name: Code Language: