I am writing a program to search for names. Right now I have it setup for as all the names to be in a Array.
Now what I would like to do is have a program written that would search the array and tell me that the name is in the array or not. Another question that I have is would it matter if the names in the array were lower case or upper case. If so will I have to create a new array for lower case names.
What I kind of have so far is this
Will this work???
Thanks for your time and any help that you may give.
Code:
Dim Names(4) as String Movies(0)=Ryan Movies(1)=Philip Movies(2)=Roger Movies(3)=Charles Movies(4)=Tim
What I kind of have so far is this
Code:
If input1=movies() Then msgbox("Congrats that name is in the array end if If input1<>movies() Then msgbox("Please try again") end if
Thanks for your time and any help that you may give.
Comment