API17

JString::strpos

From Joomla! Documentation

Revision as of 21:19, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JString::strpos[edit]

Description[edit]

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

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

Synopsis[edit]

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

Returns[edit]

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

Defined in[edit]

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

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JString::strpos

Examples[edit]

<CodeExamplesForm />