Previous: StrIComp function To the Table of Content Next: StrLCopy function

- 4.61.2.41 -
Standard Units
Strings Unit
Strings Unit Procedures and Functions

StrLComp function

Targets: MS-DOS, OS/2, Win32


Strings Unit

StrLComp compares a specified maximum number of characters (MaxLen) in two strings of PWChar or PChar type.

Declaration:
function StrLComp(Str1, Str2: PWChar; MaxLen: Longint): Longint;
function StrLComp(Str1, Str2: PChar; MaxLen: Longint): Longint;
Remarks:
The return value is:
 Condition  Return Value 
S1 > S2> 0
S1 < S2< 0
S1 = S2 = 0



Previous: StrIComp function To the Table of Content Next: StrLCopy function
StrIComp function Table of Content StrLCopy function

- 4.61.2.41 -