Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

strcomp

Compare 2 null-terminated strings, case sensitive.

Declaration

Source position: syspchh.inc line 25

function StrComp(

  str1: PAnsiChar;

  str2: PAnsiChar

):SizeInt;

function strcomp(

  str1: PWideChar;

  str2: PWideChar

):SizeInt;

Description

Compares the null-terminated strings S1 and S2. The result is

For an example, see StrLComp.

Errors

None.

See also

StrLComp

  

Compare limited number of characters of 2 null-terminated strings.

StrIComp

  

Compare 2 null-terminated strings, case insensitive.

StrLIComp

  

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


Documentation generated on: Jul 24 2023