How do you search for String
on List(Of String)
without considering the case?
I am using .net 2.0.
Contains
does not allow you to pass any additional parameters. I tried to use Find
but it also did not work.
Dim v_list As New List(Of String)(New String() {"a", "b", "c"})
Dim v_contains As Boolean
v_contains = v_list.Contains("A")
v_contains = v_list.Find(Function(x) String.Compare(x, "A", True))