public function stripParentheses($expression)
    {
        if (Str::startsWith($expression, '(') && Str::endsWith($expression, ')')) {
            $expression = substr($expression, 1, -1);
        }

        return $expression;
    }
public function stripParentheses($expression)
    {
        if (Str::startsWith($expression, '(') && Str::endsWith($expression, ')')) {
            $expression = substr($expression, 1, -1);
        }

        return $expression;
    }
public function stripParentheses ( $ expression ) { if ( Str :: startsWith ( $ expression , '(' ) && Str :: endsWith ( $ expression , ')' ) ) { $ expression = substr ( $ expression , 1 , - 1 ) ; } return $ expression ; }
Strip the parentheses from the given expression.

@param  string  $expression
@return string
Strip the parentheses from the given expression .