4
Answers

check it in a string

darma teja

darma teja

8y
216
1
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)