Previous: 4.66.2.40. StrIComp function To the Table of Contents Next: 4.66.2.42. StrLCopy function
4.66.2.40. StrIComp function Table of Contents 4.66.2.42. StrLCopy function

- 4.66.2.41. -
Table of Contents
4. Standard Units
4.66. Strings - Large string manipulation unit
4.66.2. Strings Unit Procedures and Functions
4.66.2.41. StrLComp function


4.66.2.41. 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: 4.66.2.40. StrIComp function To the Table of Contents Next: 4.66.2.42. StrLCopy function
4.66.2.40. StrIComp function Table of Contents 4.66.2.42. StrLCopy function

- 4.66.2.41. -