Skip to content

strlicomp

Compare limited number of characters in 2 null-terminated strings, ignoring case.

Declaration

Source position: syspchh.inc line 34

function StrLIComp(str1: PAnsiChar; str2: PAnsiChar; l: SizeInt)
                   : SizeInt;
function strlicomp(str1: PWideChar; str2: PWideChar; l: SizeInt)
                   : SizeInt;

Description

Compares maximum L characters of the null-terminated strings S1 and S2, ignoring case. The result is

  • A negative Longint when S1<S2.
  • 0 when S1=S2.
  • A positive Longint when S1>S2.

For an example, see StrIComp

Errors

None.

See also

Name Description
StrLComp Compare limited number of characters of 2 null-terminated strings.
StrComp Compare 2 null-terminated strings, case sensitive.
StrIComp Compare 2 null-terminated strings, case insensitive.