JString::strcasecmp/1.5

From Joomla! Documentation
< JString::strcasecmp
Revision as of 20:26, 25 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Joomla 1.5 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

SeeAlso:JString::strcasecmp [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox