strncasecmp Binary safe case-insensitive string comparison of the first n characters &reftitle.description; intstrncasecmp stringstring1 stringstring2 intlength This function is similar to strcasecmp, with the difference that you can specify the (upper limit of the) number of characters from each string to be used in the comparison. &reftitle.parameters; string1 The first string. string2 The second string. length The length of strings to be used in the comparison. &reftitle.returnvalues; &strings.comparison.return; &reftitle.changelog; &Version; &Description; &standard.changelog.binary-safe-string-comparison; &reftitle.examples; <function>strncasecmp</function> example ]]> &reftitle.seealso; strncmp preg_match substr_compare strcasecmp stristr substr