# FindShiftLeftVariations(string)

> Extract all variations on a word. As an example: the word hello would have the following variations: h, he, hel, hell, hello.

## Definition

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

```csharp
public static string[] FindShiftLeftVariations(string word)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Word to extract variations from.

### Returns

| Type                                                               | Description                    |
| ------------------------------------------------------------------ | ------------------------------ |
| [string\[\]](https://learn.microsoft.com/dotnet/api/system.string) | List of variations for a word. |
