<< Click to Display Table of Contents >> Navigation: Explain™ Control Language > Library Routines > Miscellaneous functions > StrCmp() |
Compares two strings character by character and returns a value indicating their relationship.
REGULAR FUNCTION
Result = StrCmp(String1, String2)
String1 |
STRING |
First string for comparison. |
String2 |
STRING |
Second string for comparison. |
Result |
INDEX |
•–1 = String1 less than String2 •0 = String1 identical to String2 •1 = String1 greater than String2 |