I am trying to figure out how to check if a string contains another while ignoring case using .text.contains.
As it stands right now If I do this:
D
I solved this problem with .toUpper
For example:
Dim UGroup as String = dr.Item(2).ToString().ToUpper Dim s as String = ds.Item(1).ToString.ToUpper If s.Contains(UGroup) then MsgBox("Well done!") Else End Sub
Same procedure with .toLower