itSchRis917
2009-12-11 00:45:40
Hey, question for you guys. I need to search through the page source of a website to find the header.. Then what i want to do is mark that "position" and copy the next 50 or so lines into another string, and then parse those lines out individually in C#. I'm a complete beginner, so bear with me please. Thanks!
super_
2009-12-11 20:29:58
the header? as in HTTP header? or as in the HTML head element? if the first, tough luck; if the second, parse into a DOM tree or use the powerful visitor inspection design model as in SAX.
edit: if it's legal XML, you could use System.Xml to parse it into a DOM-style tree :-)
Freddy1990
2009-12-16 14:31:42
Don't use .NET, it's evil.
super_
2009-12-22 12:15:07
From: Freddy1990
Don't use .NET, it's evil.
don't use delphi, it's evil, too.