I am writing a bot and I was wonder if there was a way to check the mutiple cases of a single word due to capitalization.
The way I check for the use of a word Hello, hello, HELLO, HeLlO would all be different words and this isnt what I want.

This is how I am doing things right now..

while(strstr(uresponse,"Hi")!=NULL)
{
cout << "Hello.\n";
return 1;
}

How would I make a simple function that would check for all the different capitalixations of a single word, and not only hello, but any other as well.