strcasecmp em c
#include <strings.h>
int strcasecmp(const char *f1, const char *f2);
Return Values (CASE INSENSETIVE):
0 if both the strings are equal.
< 1 if f1 is less than f2.
> 1 if f1 is greater than f2.
Nutty Nightingale