Case-insensitive string comparison.
Source position: utility.pas line 187
function Stricmp( |
String1: PChar; |
String2: PChar |
):LongInt; |
Relationship between string1 and string2 <0 means string1 < string2 =0 means string1 = string2 >0 means string1 > string2
This function compares two strings, ignoring case using a generic case conversion routine. If the strings have different lengths, the shorter is treated as if it were extended with zeros.
Whenever locale.library is installed in a system, this function is replaced by language-specific code. This means that depending on which language the user has currently selected, identical pairs of strings may return different values when passed to this function. This fact must be taken into consideration when using this function.
|
Length-limited case-insensitive string compare. |