Actions

API17

Difference between revisions of "JString::strpos"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 38: Line 38:
 
mixed Number of characters before the first match or FALSE on failure
 
mixed Number of characters before the first match or FALSE on failure
 
===Defined in===
 
===Defined in===
libraries/joomla/utilities/string.php
+
libraries/joomla/utilities/string.php (line 62)
 +
* see source code in [[jplatform:utilities/string.php#cl-62|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:19, 23 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JString::strpos

Description

UTF-8 aware alternative to strpos Find position of first occurrence of a string.

Description:JString::strpos [Edit Descripton]

Synopsis

public static JString::strpos ($str, $search, $offset=FALSE)
Parameter Type Default Description
$str $str
$search $search
$offset $offset FALSE

Returns

mixed Number of characters before the first match or FALSE on failure

Defined in

libraries/joomla/utilities/string.php (line 62)

Referenced by

See also

[Edit See Also]

SeeAlso:JString::strpos

Examples

<CodeExamplesForm />