Object
Pascal
CompareText
Obsolete
Compare two strings for equality, ignoring case
SysUtils
unit
function
CompareText
(
const String1, String2
: string ) : Integer;
Description
The
CompareText
function compares
String1
and
String2
for equality, ignoring case.
New code should use the
AnsiCompareText
function, which takes into account multi-byte strings, and accented characters.
Related commands
AnsiCompareText
Compare two strings for equality, ignoring case