darma teja

darma teja

  • NA
  • 496
  • 337.6k

check it in a string

Aug 11 2016 5:43 AM
Hi All,
I have a string like this
string s= "\t\t\t<a id=\"2056489\">6 x 10 mm</a>";
string v1="6 x 10 mm";
I tried to put it in IF condition:
if(s.Contains(v1))
{} 
but the output gives me FALSE
any one have idea where I am got strucked?
Thanks,
Darma

Answers (4)