If Textbox1.Tex*****ntains("Word") Then
Label1.Text = "Word Found"
Else
Label1.Text = "Word not Found"
EndIf
If Textbox1.Tex*****ntains("Hello") Then
Label2.Text = "Hello Found"
Else
Label2.Text = "Hello not Found"
If Textbox1.Tex*****ntains("Word") Then
Label1.Text = "Word Found"
Else
Label1.Text = "Word not Found"
End If
If TextBox1.Tex*****ntains("Hello") Then
Label2.Text = "Hello Found"
Else
Label2.Text = "Hello not Found"
End If

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Textbox1.Tex*****ntains("Word") Then
Label1.Text = "Word Found"
Else
Label1.Text = "Word not Found"
EndIf
If Textbox1.Tex*****ntains("Hello") Then
Label2.Text = "Hello Found"
Else
Label2.Text = "Hello not Found"
EndIf
![=]](/forum/images/emotions/=].gif)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Text = "Hello1234Word5678" '// should results in Found&Found
If Textbox1.Tex*****ntains("Word") Then
Label1.Text = "Word Found"
Else
Label1.Text = "Word not Found"
EndIf
If Textbox1.Tex*****ntains("Hello") Then
Label2.Text = "Hello Found"
Else
Label2.Text = "Hello not Found"
EndIf
End Sub