API17:JString::strrpos
From Joomla! Documentation
JString::strrpos
Description
UTF-8 aware alternative to strrpos Finds position of last occurrence of a string.
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
JString::strrpos source code on BitBucket
Class JString
Subpackage Utilities- Other versions of JString::strrpos
User contributed notes
Code Examples