API17

Difference between revisions of "JString::strrpos"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 38: Line 38:
 
mixed Number of characters before the last match or FALSE on failure
 
mixed Number of characters before the last match or FALSE on failure
 
===Defined in===
 
===Defined in===
libraries/joomla/utilities/string.php
+
libraries/joomla/utilities/string.php (line 82)
 +
* see source code in [[jplatform:utilities/string.php#cl-82|BitBucket]]
 
===Referenced by===
 
===Referenced by===
* [[JHtmlString/truncate/11.1|JHtmlString::truncate]]
+
* [[JHtmlString::truncate/11.1|JHtmlString::truncate]]
 
===See also===
 
===See also===
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Revision as of 21:19, 23 April 2011

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::strrpos[edit]

Description[edit]

UTF-8 aware alternative to strrpos Finds position of last occurrence of a string.

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

Synopsis[edit]

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

Returns[edit]

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

Defined in[edit]

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

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JString::strrpos

Examples[edit]

<CodeExamplesForm />