Function stricmp

Top 

Declaration:

int stricmp(char s1[], char s2[], int s1_index=0, int s2_index=0);

Description

The stricmp function compares lines s1 and s2 letter-by-letter regardless of the character case and returns the result of the search.

Returned value

The stricmp function returns the following comparison results:

    Value        Meaning

    -------------------------------

    < 0          s1 is less than s2

    = 0          s1 is equal to s2

    > 0          s1 is greater than s2