Select Case searchText Case searchText.IndexOf("/") <> -1 here case statrement is not checking the condition. how to use this