Hi, i'm tring to do a simple word search in a string, to do so i use: Sentence.IndexOf(WordToSearch);
But if the sentence is "Hello World!", and Word = "hello", it returns -1...
Anyone knows a way to do a no case sensitive search??'
Thanks,
Diego
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: Search String No Case SensitiveThreaded View
|
Click Here to Expand Forum to Full Width |