private function PHPExcel_Calculation::strcmpLowercaseFirst in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php \PHPExcel_Calculation::strcmpLowercaseFirst()
* Compare two strings in the same way as strcmp() except that lowercase come before uppercase letters *
Parameters
string $str1 First string value for the comparison: * @param string $str2 Second string value for the comparison * @return integer
1 call to PHPExcel_Calculation::strcmpLowercaseFirst()
- PHPExcel_Calculation::_executeBinaryComparisonOperation in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation.php
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation.php, line 3653
Class
- PHPExcel_Calculation
- PHPExcel_Calculation (Multiton)
Code
private function strcmpLowercaseFirst($str1, $str2) {
$inversedStr1 = PHPExcel_Shared_String::StrCaseReverse($str1);
$inversedStr2 = PHPExcel_Shared_String::StrCaseReverse($str2);
return strcmp($inversedStr1, $inversedStr2);
}