public static function rChr($haystack, $needle, $part = null)
    {
        if (self::isMBString()) {
            return mb_strrchr($haystack, $needle, $part, self::$encoding);
        }

        return strrchr($haystack, $needle); // @codeCoverageIgnore
    }
public static function rChr($haystack, $needle, $part = null)
    {
        if (self::isMBString()) {
            return mb_strrchr($haystack, $needle, $part, self::$encoding);
        }

        return strrchr($haystack, $needle); // @codeCoverageIgnore
    }
public static function rChr ( $ haystack , $ needle , $ part = null ) { if ( self :: isMBString ( ) ) { return mb_strrchr ( $ haystack , $ needle , $ part , self :: $ encoding ) ; } return strrchr ( $ haystack , $ needle ) ; // @codeCoverageIgnore }
Finds the last occurrence of a character in a string within another

@param string $haystack
@param string $needle
@param bool   $part
@return string
Finds the last occurrence of a character in a string within another