API17

API17:JString::strspn

From Joomla! Documentation

Revision as of 00:21, 21 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JString::strspn

Description

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

Template:Description:JString::strspn [Edit Descripton]

Synopsis

public static JString::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 in

libraries/joomla/utilities/string.php

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JString::strspn

Examples

<CodeExamplesForm />