
The Function Block STRCSPN determines the number of non-matching characters.
Note: This function is Binary-Safe. This means that UTF8 characters cannot be processed directly.
Defines the string to be examined.
Defines the not allowed characters.
Defines the integer position at which the search begins.
If the offset is negative, the search starts with calculated offset from the end of the string at input STR.
The length to be examined of the section from input STR.
If no length has been defined, then it is examined until the end of the string.
The output returns the length of the initial segment of the string STR that consists exclusively of characters not occurring in CHARS.