Contains

I am searching through an array I want to pull up values that match the input in my text box bases on containing it. With .net I can either say if textbox1.text = array(i) then
messagebox.show = array(i)

or

if textbox1.text like array(i) then
messagebox.show = array(i)

But this only matches up when the use enters the entire word. I would like to do a contains so if the user only enters part of the value it will still pull it up. Does this make sense? Any help would be greatly appreciated.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories