SysStrCmpNΒΆ
This function of type DINT compares the size of two strings, whereby a defined number of characters counted from the beginning of the string will be considered. One of the following values will be returned:
Return value < 0 String1 smaller than String2
Return value = 0 String1 = String2
Return value > 0 String1 bigger than String2
Variable | Data Type | Description |
---|---|---|
sString1 | STRING | First string (String1) |
sString2 | STRING | Second string (String2) |
diChars | DINT | Number of locations for which (start counting from the beginning of the string) the size of the strings should be compared |