> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/evaluator/select.md).

# Select

\<evalcmd> Select && var && Value at the specified index. && index && int && Index of value to return. && value1 && var && First value (index 0) && \[value2...] && var && Second value (index 1)... \</evalcmd>

Returns the value identified by the specified *index*. The index of the first item is 0.

This performs an array-like function (the evaluator does not currently support arrays).

//<Example://>

```
day = 3;
Output(Select(day, "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"));
--> Thu
```
