# FINDNTH

FINDNTH(`string`, `substring`, `occurrence`)

### Arguments <a href="#arguments" id="arguments"></a>

| Argument     | Description                                                               |
| ------------ | ------------------------------------------------------------------------- |
| `string`     | String(s) to search within for instances of `substring`                   |
| `substring`  | Substring(s) to find within `string`                                      |
| `occurrence` | The number dictating which occurrence of `substring` will be searched for |

### Output <a href="#output" id="output"></a>

Outputs a number representing the index of the nth `occurrence` of `substring` within `string`

### Example <a href="#example" id="example"></a>

{% embed url="<https://datawrapper.dwcdn.net/69kG6/2>" %}
