Next: StrCopy
Up: Functions and procedures.
Previous: StrCat
Function StrComp (S1,S2 : PChar) : Longint;
Compares the null-terminated strings S1 and S2.
The result is
- A negative Longint when S1<S2.
- 0 when S1=S2.
- A positive Longint when S1>S2.
None.
StrLComp, StrIComp, StrLIComp
For an example, see StrLComp.
root
Fri Sep 11 18:24:36 CEST 1998