comparing strings,iphone
<p>i have 2 strings say string A and String B
i need to check if they both are eqaul or not,
so did this</p>

<pre><code>if(a==b){
//they are equal
}
</code></pre>

<p>on console they both are showing same value say 'hey'.
but condition is not working for me.
is there any other condition to check if 2 strings are equal.</p>

<p>like there is on </p>

<pre><code>if([A isEqualToString : @"equal"])
{
}
</code></pre>

<p>but this i cant fit string B in this condition, can i?/</p>

<p>suggestions are always appreciated</p>
