Fastest way to get a the string between <title> </title>

Discussion in 'ASP .Net' started by Andreas Klemt, Aug 10, 2003.

  1. Hello,
    I have in my strHtml a html page.
    so what is the fastest way (with XML Read?) to get the "myValue" between
    <title>myValue</title>


    Thanks,
    Andreas
    Andreas Klemt, Aug 10, 2003
    #1
    1. Advertising

  2. You can get/set the page title through code by adding the runat="server"
    attribute to your title tag.
    Here's a good example:
    http://www.aspalliance.com/kenc/faq5.aspx

    --
    I hope this helps,
    Steve C. Orr, MCSD
    http://Steve.Orr.net


    "Andreas Klemt" <> wrote in message
    news:%...
    > Hello,
    > I have in my strHtml a html page.
    > so what is the fastest way (with XML Read?) to get the "myValue" between
    > <title>myValue</title>
    >
    >
    > Thanks,
    > Andreas
    >
    >
    Steve C. Orr, MCSD, Aug 10, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sam Iam
    Replies:
    9
    Views:
    20,457
    Darryl L. Pierce
    Apr 29, 2004
  2. R. Alan Monroe
    Replies:
    8
    Views:
    537
    John J. Lee
    Sep 26, 2003
  3. Abrahams, Max
    Replies:
    3
    Views:
    286
    Nick Craig-Wood
    Feb 5, 2008
  4. Replies:
    14
    Views:
    645
  5. aaragon
    Replies:
    4
    Views:
    830
    Kenshin
    Dec 1, 2009
Loading...

Share This Page