i have a list of large number of string elements in array and i am using contains function to check if it contains that element. it is working fine. Now i want to get to know the index/position of element. suppose the array is
dim s as string() = {"first", "second","third"}
and the string
dim l as string = "third"
method
dim b as boolean = s.Contains(l, StringComparer.CurrentCultureIgnoreCase)
flag
if (b) Then
messagebox.show("It exists")
end if
above array is just an example. original array consists of 7690 entries and each entry is written in utf-8 and indexOf function is not giving any result