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) {}
    }
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) {}
    }
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 ) { } }
guplv mult string
guplv mult string