Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. if (el2.GetAttribute("id").Equals("videoTitle"))
  2. {
  3. Dicionario.Titulos nome = new Dicionario.Titulos(Title, Tipo, save);
  4. Title = el2.Document.GetElementById("videoTitle").InnerText;
  5.  
  6. string[] palavras = Title.Split(new char[] { ' ', '?', '!', '.', ',', ';' });
  7. foreach (string check in palavras)
  8. {
  9. if (check.Contains("Rock"))
  10. {
  11. Title = "Rock";
  12. textBox1.Text = Title;
  13. Tipo1 += 1;
  14. break;
  15. }
  16. }
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement