case solved
- From: "Jeff" <no_email_address>
- Date: Mon, 10 Mar 2008 16:57:33 +0100
I've just found out why this didn't work. My mistake... the reason if
(line.Contains("</table>" )) didn't work, was because there is another
if-statement above this and that if statement wasn't true... so I've solved
it.
"Jeff" <no_email_address> wrote in message
news:Odppn5rgIHA.5824@xxxxxxxxxxxxxxxxxxxxxxx
Hey
.NET 3.5
I'm trying to search a string to determine if the string contains
</table>, but string.Contains don't find it. I've used
WebRequest/WebReponse to retrieve the html from a webpage and now I'm
searching through this html... this webpage contains 4 html tables. so
there are 4 </table>, but my code don't find any...
Here is part of my code, this if-statment don't get true...
string line;
if (line.Contains(" </table>" ))
{
boolean = false;
}
any suggestions?
.
- References:
- problem with string.Contains()
- From: Jeff
- problem with string.Contains()
- Prev by Date: interacting with windows calculator
- Next by Date: IEnumerator in a Struct
- Previous by thread: Re: problem with string.Contains()
- Next by thread: Re: problem with string.Contains()
- Index(es):
Relevant Pages
|