int32 PStrCmp(s1, s2);
Lexically compares two Pascal strings to determine whether one is less than, equal to, or greater than the other. This comparison is case sensitive.
Name | Type | Description |
---|---|---|
s1 | PStr | Pointer to a Pascal string. |
s2 | PStr | Pointer to a Pascal string. |
<0, 0, or >0 if s1 is less than, equal to, or greater than s2, respectively. Returns <0 if s1 is an initial substring of s2.