Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Question about HTML tag C#

Question about HTML tag C#

Scheduled Pinned Locked Moved C#
questioncsharphtml
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    YiXiang_89
    wrote on last edited by
    #1

    Hi all, How do i able to Read the html tag And after that, i can chage the html tag content? How do i read all the tag that contain with

    How are you?

    How can i replace the "How are you? to other type of text ? like "GFHSDFGR" (junk word)? Thank You

    D B M 3 Replies Last reply
    0
    • Y YiXiang_89

      Hi all, How do i able to Read the html tag And after that, i can chage the html tag content? How do i read all the tag that contain with

      How are you?

      How can i replace the "How are you? to other type of text ? like "GFHSDFGR" (junk word)? Thank You

      D Offline
      D Offline
      Deresen
      wrote on last edited by
      #2

      First step: try to teach yourself English. Second step: go to the store and buy a book about basic programming Third step: read the book, don't scan the text, but really read it Then you're ready to program. If you have an error, then go to google and try to search your error. If you tried for 15 minutes, then, but ONLY THEN come here and ask your questions. To anwser your question: try to use the String class for this. If you have your text stored in a String, for instance like this: String s = "Hello World" and you would like to read the tags, use a parser or make your own parser. To replace "How are you?" to "GFHSDFGR", you should try: "Hello How are you?".replace("How are you?", "GFHSDFGR");, this will give as output: Hello GRHSDFGR. Good luck.

      1 Reply Last reply
      0
      • Y YiXiang_89

        Hi all, How do i able to Read the html tag And after that, i can chage the html tag content? How do i read all the tag that contain with

        How are you?

        How can i replace the "How are you? to other type of text ? like "GFHSDFGR" (junk word)? Thank You

        B Offline
        B Offline
        benjymous
        wrote on last edited by
        #3

        Click the "Ignore HTML" checkbox, to stop your message going nuts

        Help me! I'm turning into a grapefruit! Buzzwords!

        1 Reply Last reply
        0
        • Y YiXiang_89

          Hi all, How do i able to Read the html tag And after that, i can chage the html tag content? How do i read all the tag that contain with

          How are you?

          How can i replace the "How are you? to other type of text ? like "GFHSDFGR" (junk word)? Thank You

          M Offline
          M Offline
          Mbah Dhaim
          wrote on last edited by
          #4

          if you mean html parser you can see this[^] or this[^] as reference hope it helps

          dhaim ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro" in the front line gave a lead, in the middle line build goodwill, in the behind give power support

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups