JString::strrpos
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
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]
public static function strrpos (
$str
$search
$offset=false
)
Parameter | Type | Default | Description |
---|---|---|---|
$str | $str | ||
$search | $search | ||
$offset | false |
- Returns mixed Number of characters before the last match or FALSE on failure
- Defined on line 79 of libraries/joomla/utilities/string.php
- Referenced by
See also[edit]
- JString::strrpos source code on BitBucket
- Class JString
- Subpackage Utilities
- Other versions of JString::strrpos
Template:SeeAlso:JString::strrpos [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />