# this[]

> Gets the character at a specified position in the current StringView.

## Definition

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

## this\[int]

Gets the character at a specified position in the current [StringView](/engine/6000.5/script-reference/unityeditor/search/stringview.md).

```csharp
public char this[int index] { get; }
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

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

## this\[Index]

Gets the character at a specified position in the current [StringView](/engine/6000.5/script-reference/unityeditor/search/stringview.md).

```csharp
public char this[Index index] { get; }
```

### Parameters

**** (\[Index]\(https\://learn.microsoft.com/dotnet/api/system.index)):&#x20;

### Returns

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