public static function altrim($str, $arr)
    {
        try {
            foreach ($arr as &$item) {
                if (is_string($item)) {
                    $str= preg_replace("/^{$item}/", '', $str);
                }
            }

            return $str;
        } catch (\Exception $e) {}
    }