JString::strcasecmp/1.5
From Joomla! Documentation
JString::strcasecmp
Description
UTF-8 aware alternative to strcasecmp A case insensivite string comparison.
Description:JString::strcasecmp [Edit Descripton]
public function strcasecmp ( $str1 $str2 )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $str1 | string | string 1 to compare | |
| $str2 | string | string 2 to compare |
- Returns int < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.
- Defined on line 209 of libraries/joomla/utilities/string.php
See also
-
JString::strcasecmp on api.joomla.org
-
JString source code on JoomlaCode
-
Class JString
-
Subpackage Utilities
- Other versions of JString::strcasecmp
SeeAlso:JString::strcasecmp [Edit See Also]
User contributed notes
<CodeExamplesForm />