JString::strspn/1.5
From Joomla! Documentation
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
-
JString::strspn on api.joomla.org
-
JString source code on JoomlaCode
-
Class JString
-
Subpackage Utilities
- Other versions of JString::strspn
SeeAlso:JString::strspn [Edit See Also]
User contributed notes
<CodeExamplesForm />