G
Guest
Let's say I want to find the occurance of SearchString in MyString, but I
want to search without regard to case ...
Which is better and why in VB.Net?
Index = Instr(MyString, SearchString) - 1
or
Index = MyString.ToUpper.IndexOf(SearchString.ToUpper)
want to search without regard to case ...
Which is better and why in VB.Net?
Index = Instr(MyString, SearchString) - 1
or
Index = MyString.ToUpper.IndexOf(SearchString.ToUpper)