int32 CPStrCmp(s1p, s2p);
Lexically compares two concatenated lists of Pascal strings to determine whether one is less than, equal to, or greater than the other. This comparison is case sensitive. The function compares the lists as if they were one string.
Name | Type | Description |
---|---|---|
s1p | CPStrPtr | Pointer to a concatenated list of Pascal strings. |
s2p | CPStrPtr | Pointer to a concatenated list of Pascal strings. |
<0, 0, or >0 if s1p is less than, equal to, or greater than s2p, respectively. Returns <0 if s1p is an initial substring of s2p.