SysStrCmpNIΒΆ
This function of type DINT checks whether a defined number of characters of two strings (starting at the beginning of the string) are identical. One of the following return values will show the result:
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 characters starting at the beginning of the string, which will be checked for identical values in both strings |