This function is similar to strcmp(), with the difference that you can specify the (upper limit of the) number of characters from each string to be used in the comparison.
Note that this comparsion is case sensitive.
declaration of strncmp
int strncmp ( string $str1 , string $str2 , int $len )
test strncmp online
comments for strncmp
be the first
No comments so far for strncmp(). Leave yours as first below.