public static function strip($str, $prefix, $suffix)
    {
        return self::rstrip(self::lstrip($str, $prefix), $suffix);
    }
public static function strip($str, $prefix, $suffix)
    {
        return self::rstrip(self::lstrip($str, $prefix), $suffix);
    }
public static function strip ( $ str , $ prefix , $ suffix ) { return self :: rstrip ( self :: lstrip ( $ str , $ prefix ) , $ suffix ) ; }
Strips a prefix and suffix of  a string

@param string $str
@param string $prefix
@param string $suffix
@return string
Strips a prefix and suffix of a string