Admin Production ni-theme
Current Publication

StrICmp

LabWindows/CVI

StrICmp

int StrICmp (const char string1[], const char string2[]);

Purpose

Performs a byte–by–byte, case–insensitive comparison of two nul–terminated strings. Returns:

A negative value if string1 is less than string2.
Zero if string1 is identical to string2.
A positive value if string1 is greater than string2.

Parameters

Input
Name Type Description
string1 const char[] A nul–terminated string.
string2 const char[] A nul–terminated string.

Return Value

Name Type Description
result int A negative value if string1 is less than string2.
Zero if string1 is identical to string2.
A positive value if string1 is greater than string2.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later