man mtext_ncasecmp () - Compare initial parts of two M-texts ignoring cases.

NAME

mtext_ncasecmp - Compare initial parts of two M-texts ignoring cases.

SYNOPSIS

int mtext_ncasecmp (MText * mt1, MText * mt2, int n)

DESCRIPTION

The mtext_ncasecmp() function is similar to mtext_casecmp(), but compares at most n characters from the beginning.

RETURN VALUE

This function returns 1, 0, or -1 if mt1 is found greater than, equal to, or less than mt2, respectively.

SEE ALSO

mtext_cmp(), mtext_casecmp(), mtext_casecmp() mtext_compare(), mtext_case_compare()