JString::strspn/1.5

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

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

Joomla 1.5 JString::strspn

Description

UTF-8 aware alternative to strspn Find length of initial segment matching mask.

Description:JString::strspn [Edit Descripton]

public function strspn (
        $str
        $mask
        $start=NULL
        $length=NULL
)
Parameter Type Default Description
$str string the haystack
$mask string the mask
$start int NULL start optional
$length int NULL length optional
  • Returns
  • Defined on line 287 of libraries/joomla/utilities/string.php

See also

SeeAlso:JString::strspn [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox