> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/logical/choose.md).

# CHOOSE

CHOOSE( `index`, `value1`, \[`value2`...] )

Returns the element within `value` list located at  `index`&#x20;

### Inputs

| Input          | Description                                  |
| -------------- | -------------------------------------------- |
| `index`        | `index` to search for within list of values  |
| `value1`       | Value to return if its index matches `index` |
| \[`value2`...] | Additional values in value list              |

### Output

Returns the value associated with the provided `index`

### Example

```
CHOOSE(3, "Alabama", "Alaska", "Arizona", "Arkansas") = "Arizona"
```
