NWstrncoll
Returns the locale-sensitive comparison of two strings
#include <time.h> or #define NWL_EXCLUDE_TIME
#include <stdio.h> or #define NWL_EXCLUDE_FILE
#include <nwlocale.h>
nint N_API NWstrncoll (
const nstr N_FAR *string1,
const nstr N_FAR *string2,
size_t maxChars);
uses netwin32
Function NWstrncoll
(string1 : pnstr;
string2 : pnstr;
maxChars : size_t
) : nint;
If no collate table exists, the locale is the C locale (see the strcmp function).
NWstrncoll is useful to insert or delete items in a sorted list based on their collation value.
Double byte characters count as one character in the count.