Advertisement
Guest User

Untitled

a guest
Jan 5th, 2019
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.79 KB | None | 0 0
  1.             GeckoHtmlElement Elem = (GeckoHtmlElement)W.Document.GetElementById("typetext");
  2.             string El = Elem.InnerHtml;
  3.             foreach (char Ch in sortChars)
  4.             {
  5.                 El = El.Replace("<span style=\"display:none;\">" + Ch.ToString() + "</span>", "");
  6.             }
  7.  
  8.             Result = El
  9.                 .Replace("<span>", "")
  10.                 .Replace("</span>", "")
  11.                 .Replace("<span class=\"\">", "")
  12.                 .Replace("<span id=\"hightlight\">", "")
  13.                 .Replace("<span id=\"typefocus\">", "")
  14.                 .Replace("<span id=\"typefocus\" class=\"\">", "")
  15.                 .Replace("<span id=\"afterfocus\">", "")
  16.                 .Replace("<span id=\"beforefocus\">", "")
  17.                 .Replace("  ", " ");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement