problem with string.Contains()
- From: "Jeff" <no_email_address>
- Date: Mon, 10 Mar 2008 15:53:28 +0100
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?
.
- Follow-Ups:
- case solved
- From: Jeff
- Re: problem with string.Contains()
- From: Marc Gravell
- Re: problem with string.Contains()
- From: Jon Skeet [C# MVP]
- case solved
- Prev by Date: Is asp.net 3.5 in release stage? what about vs.net 2008?
- Next by Date: Re: Making Definitions
- Previous by thread: Is asp.net 3.5 in release stage? what about vs.net 2008?
- Next by thread: Re: problem with string.Contains()
- Index(es):
Relevant Pages
|