![]() |
![]() |
$str.cmpCompare two strings alphabetically |
Usage |
|
Description |
This function compares two strings alphabetically. If the first string is 'greater' than the second, it will return a positive number, a negative number is the second is greater and 0 if the two strings are equal. |
Syntax Specification |
|
See also |
$str.cmpnocase() |