public static function extract(array &$arr, $path, $default = null, $delimiter = '.')
    {
        $value = static::get($arr, $path, $default, $delimiter);

        static::delete($arr, $path, $delimiter);

        return $value;
    }