Query: strcoll
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STRCOLL(3) 1 STRCOLL(3) strcoll - Locale based string comparisonSYNOPSISint strcoll (string $str1, string $str2)DESCRIPTIONNote that this comparison is case sensitive, and unlike strcmp(3) this function is not binary safe. strcoll(3) uses the current locale for doing the comparisons. If the current locale is C or POSIX, this function is equivalent to str- cmp(3).PARAMETERSo $str1 - The first string. o $str2 - The second string.RETURN VALUESReturns < 0 if $str1 is less than $str2; > 0 if $str1 is greater than $str2, and 0 if they are equal.CHANGELOG+--------+------------------------------------+ |Version | | | | | | | Description | | | | +--------+------------------------------------+ | 4.2.3 | | | | | | | This function now works on win32. | | | | +--------+------------------------------------+SEE ALSOpreg_match(3), strcmp(3), strcasecmp(3), substr(3), stristr(3), strncasecmp(3), strncmp(3), strstr(3), setlocale(3). PHP Documentation Group STRCOLL(3)
Related Man Pages |
---|
strcoll(3) - centos |
strcoll(3) - opendarwin |
collator_compare(3) - php |
strnatcasecmp(3) - php |
strnatcmp(3) - php |
Similar Topics in the Unix Linux Community |
---|
how to handle variables in sed |
tcl: regexp matching special character |
string comparison |
Deleting multiple lines from file |
how to get value of value of a variable |