Query: strnatcasecmp
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STRNATCASECMP(3) 1 STRNATCASECMP(3) strnatcasecmp - Case insensitive string comparisons using a "natural order" algorithmSYNOPSISint strnatcasecmp (string $str1, string $str2)DESCRIPTIONThis function implements a comparison algorithm that orders alphanumeric strings in the way a human being would. The behaviour of this function is similar to strnatcmp(3), except that the comparison is not case sensitive. For more information see: Martin Pool's Natural Order String Comparison page.PARAMETERSo $str1 - The first string. o $str2 - The second string.RETURN VALUESSimilar to other string comparison functions, this one returns < 0 if $str1 is less than $str2 > 0 if $str1 is greater than $str2, and 0 if they are equal.SEE ALSOpreg_match(3), strcmp(3), strcasecmp(3), substr(3), stristr(3), strncasecmp(3), strncmp(3), strstr(3), setlocale(3). PHP Documentation Group STRNATCASECMP(3)
Related Man Pages |
---|
streqvcmp(3) - debian |
strneqvcmp(3) - debian |
streqvcmp(3) - suse |
natcasesort(3) - php |
strcoll(3) - php |
Similar Topics in the Unix Linux Community |
---|
string manipulation |
cut First charecter in any string |
how to handle variables in sed |
Convert case on specified position of flat file |
GAWK case insensitive comparison |