- 4.66.2.44. -
Table of Contents
4. Standard Units
4.66. Strings - Large string manipulation unit
4.66.2. Strings Unit Procedures and Functions
4.66.2.44. StrLIComp function
4.66.2.44. StrLIComp function
Targets: MS-DOS, OS/2, Win32
Strings Unit
StrLIComp compares two strings up to a specified
maximum number (MaxLen) of characters, not case sensitive.
Declaration:
function StrLIComp(Str1, Str2: PWChar; MaxLen: Longint): Longint;
function StrLIComp(Str1, Str2: PChar; MaxLen: Longint): Longint;
Remarks:
The return value is:
Condition | Return Value |
S1 > S2 | > 0 |
S1 < S2 | < 0 |
S1 = S2 | = 0 |
- 4.66.2.44. -