If EditText1.Text = "all" Then
Msgbox("Only 'all'","")
Else If EditText1.Text.SubString2(0, 3) = "all" Then
Msgbox("Begins with 'all'","")
Else If EditText1.Text.EndsWith("all") Then
Msgbox("Ends with 'all'","")
Else If EditText1.Text.Contains("all") Then
Msgbox("Contains 'all'","")
Else
Msgbox("No 'all' in the string","")
End If