API17

API17:JString::strrpos

From Joomla! Documentation

Joomla 11.1 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


User contributed notes

Code Examples