# GetEnumerator()

> Returns an enumerator for iterating over the characters of this string.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public FixedString32Bytes.Enumerator GetEnumerator()
```

### Returns

| Type                                                                                             | Description                                                                |
| ------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------- |
| [Enumerator](/engine/6000.7/script-reference/unity/collections/fixedstring32bytes/enumerator.md) | An enumerator for iterating over the characters of the FixedString32Bytes. |
