strncasecmp

fun strncasecmp(s1: String, s2: String, n: <Error class: unknown class>): <Error class: unknown class>

A case-insensitive string comparison, corresponding to the standard strncasecmp() function on platforms which support it. It is similar to func@GLib.strcasecmp except it only compares the first @n characters of the strings.

Return

0 if the strings match, a negative value if @s1 < @s2, or a positive value if @s1 @s2

Parameters

s1

string to compare with @s2

s2

string to compare with @s1

n

the maximum number of characters to compare