StrComp (function) (Strings unit)

Language:
Русский
English

 StrComp (function)     (Strings unit)


Compares two strings.

Declaration

 function StrComp(Str1, Str2 : PChar): Integer;

Target

Windows

Return Value

 <0        if Str1 < Str2
 =0        if Str1 = Str2
 >0        if Str1 > Str2

Remarks

StrComp compares Str1 to Str2. The return value is less than 0 if Str1 < Str2, 0 if Str1 = Str2, or greater than 0 if Str1 > Str2.

See Also

Sample Code

Тэги: StrComp
| G+
Код для вставки: :: :: :: ::
Поделиться: // //