AnsiStrLComp function
Compare a limited number of characters of 2 strings.
Declaration
function AnsiStrLComp(S1: PAnsiChar; S2: PAnsiChar; MaxLen: SizeUInt)
: IntegerDescription
AnsiStrLComp functions the same as
AnsiStrComp, but
compares at most
MaxLen characters. If the first
MaxLen
characters in both strings are the same, then zero is returned.
Note that this function processes embedded null characters, treating them as a normal character.
Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
