library/Garp/Model/Behavior/Translatable.php
protected function _cleanClause($clause) {
        $clause = trim($clause);
        while ($clause[0] === '(' && $clause[strlen($clause)-1] === ')') {
            $clause = substr($clause, 1, -1);
        }
        return $clause;
    }
protected function _cleanClause($clause) {
        $clause = trim($clause);
        while ($clause[0] === '(' && $clause[strlen($clause)-1] === ')') {
            $clause = substr($clause, 1, -1);
        }
        return $clause;
    }
protected function _cleanClause ( $ clause ) { $ clause = trim ( $ clause ) ; while ( $ clause [ 0 ] === '(' && $ clause [ strlen ( $ clause ) - 1 ] === ')' ) { $ clause = substr ( $ clause , 1 , - 1 ) ; } return $ clause ; }
Remove parentheses and whitespace around the clause

@param string $clause
@return string
Remove parentheses and whitespace around the clause