StrComp Routine Edit
Compares two strings with case sensitivity.
[Delphi] function StrComp(const Str1: PAnsiChar, const Str2: PAnsiChar): Integer;
Description Call StrComp to compare two null-terminated strings, with case sensitivity. The return value is indicated in the following table:
Return value Condition
<0 Str1 sorts before Str2 =0 Str1is the same as Str2 >0 Str1 sorts after Str2
Note: When working with International characters, use AnsiStrComp instead.
Abhijeet --22.214.171.124 13:28, 4 February 2009 (UTC)
Pages in category "StrComp Routine"
This category contains only the following page.