src/KsUtils/Str.php
public static function getSubstrAfterLast($char, $str)
    {
        $pos = strripos($str, $char);

        return $pos ? substr($str, $pos+1) : null;
    }
public static function getSubstrAfterLast($char, $str)
    {
        $pos = strripos($str, $char);

        return $pos ? substr($str, $pos+1) : null;
    }
Returns substring after last occurance of $char. Search is
case insensitive
@param  string $char What to search
@param  string $str  Where to search
@return string Resulting string