Quang Dinh Luong

Quang Dinh Luong

  • NA
  • 76
  • 18.6k

Get KEY WORDs of user input

Oct 8 2015 10:24 AM
Hello all, 
I'm learning C#, so this question may seem idiot. 
I'm wondering if there is any function like:  (assume textBox1.Text = "What is your name?")
   if (textBox1.Text has these words : "What", "name")
      {
           MessageBox.Show("My name is ....");
      } 
 
Thanks for anyone who reads this!
I very appreciate if you know the way and share it with me. You can just give me the idea
Thanks, agian! :) 
 

Answers (3)