How to compare UIButton title with another string in iPhone?
<pre><code>NSString *s1= [btnStreetType titleForState:UIControlStateNormal];

BOOL str= [s1 isEqualToString:s1 ];
</code></pre>

<p>In the code above, why does <code>isEqualToString</code> return NO? I have to check whether the title is an empty string or not, but it always returns NO.</p>
