# GetEnumerator()

> Gets a character enumerator over this StringView.

## Definition

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

```csharp
public IEnumerator<char> GetEnumerator()
```

### Returns

| Type                                                                                                  | Description                                                                                                      |
| ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [IEnumerator\<char>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1) | A character enumerator over this [StringView](/engine/6000.7/script-reference/unityeditor/search/stringview.md). |
