HM_strnicmp()

Performs a string compare, ignoring upper and lower case.

Syntax

int HM_strnicmp(const char *string1, const char *string2, size_t n)

Type

HyperMesh hmlib Function

Description

Performs a string compare, ignoring upper and lower case.

Inputs

string1
A pointer to the first string you want to compare.
string2
A pointer to the second string you want to compare.
n
The number of characters in the strings to compare.

Example

-1, if string1 < string2

1, if string1 > string2

0, if string1 = string2

Errors

None.