Skip to content Skip to sidebar Skip to footer

Retrieve Parts Of Text Inside
  • I have HTML like this
  • (a) kanji; a Chinese character [ideograph]
    • ) For Each li As HtmlNode in lis 'select the first text node in <li> : Dim txt = li.SelectSingleNode("text()[1]") Console.WriteLine(li.InnerText) Next

      dotnetfiddle demo

      output :

      (a) kanji; a Chinese character [ideograph]
      

  • Post a Comment for "Retrieve Parts Of Text Inside
  • "