vb.net - How to change characters in textbox? VB -


i have question how can make multiple characters work rather single character. appreciated thank you.

private sub button1_click(sender object, e eventargs) handles button1.click     if textbox1.text = "a"         textbox2.text = ":regional_indicator_a:"     end if     if textbox1.text = "a"         textbox2.text = ":regional_indicator_a:"     end if end sub 

i think want program accept both 'a' , 'a' in case should asking or question.

private sub button1_click(sender object, e eventargs) handles button1.click     if textbox1.text = "a" or textbox1.text = "a"         textbox2.text = ":regional_indicator_a:"     end if end sub 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -