i'm no expert but what about looping to the array?
PHP Code:string[] s={"OnE","tWo","ThRee"};
for(int i=0;i<s.Length;i++) s[i]=s[i].ToLower();
MessageBox.Show(Array.IndexOf(s,"two".ToLower()).ToString());
|
Results 1 to 7 of 7
Thread: Case Insenstive search an arrayThreaded View
|
Click Here to Expand Forum to Full Width |