# ToString()

> Converts the current StringView into a string.

## Definition

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

```csharp
public override string ToString()
```

### Returns

| Type                                                           | Description   |
| -------------------------------------------------------------- | ------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A new string. |
