src/Google/AdsApi/AdManager/Util/v201805/StatementBuilder.php
private static function removeKeyword($clause, $keyword)
    {
        $keyword .= ' ';
        if (stristr(substr($clause, 0, strlen($keyword)), $keyword) !== false) {
            return substr($clause, strlen($keyword));
        }

        return $clause;
    }
private static function removeKeyword($clause, $keyword)
    {
        $keyword .= ' ';
        if (stristr(substr($clause, 0, strlen($keyword)), $keyword) !== false) {
            return substr($clause, strlen($keyword));
        }

        return $clause;
    }
private static function removeKeyword ( $ clause , $ keyword ) { $ keyword .= ' ' ; if ( stristr ( substr ( $ clause , 0 , strlen ( $ keyword ) ) , $ keyword ) !== false ) { return substr ( $ clause , strlen ( $ keyword ) ) ; } return $ clause ; }
Removes the specified keyword from the clause, if present. Will remove
`keyword + ' '`.

@param string $clause
@param string $keyword
@return string a new string with the `keyword + ' '` removed
Removes the specified keyword from the clause if present . Will remove keyword + .