strlicomp function
Compare limited number of characters in 2 null-terminated strings, ignoring case.
Declaration
function strlicomp(str1: PAnsiChar; str2: PAnsiChar; l: SizeInt)
: SizeIntDescription
Compares maximum L characters of the null-terminated strings S1
and S2, ignoring case.
The result is
- A negative
SizeIntwhenS1<S2. - 0 when
S1=S2. - A positive
SizeIntwhenS1>S2.
For an example, see StrIComp
Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
