# RemoveOperator(string)

> Removes a custom operator that was added on the QueryEngine.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.5/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public void RemoveOperator(string op)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The operator identifier.

### Examples

```csharp
// Remove an operator based on its token
var operatorToken = "%";
queryEngine.RemoveOperator(operatorToken);
```
