Description
Compare two strings held in RAM ignoring differences in case (upto a maximum length)Definition
char strnicmp(char *str1, char *str2, int cnt)Library
LIB/str_lib.basUsage
On entry:str1 is a pointer to a RAM buffer holding the first string to be comparedOn exit:
str2 is a pointer to a RAM buffer holding the second string to be compared
cnt is the maximum number of characters to compareThe return value is< 0 if str1 < str2 == 0 if str1 == str2 > 0 if str1 > str2