> For the complete documentation index, see [llms.txt](https://v5docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v5docs.keyfax.biz/reference/expression-reference/text-expressions/inlist.md).

# InList

Returns `True` when the databox value appears in the list you supply.

The first argument is the list, the second is the separator between its items.

| Expression                          | Databox value   | Result |
| ----------------------------------- | --------------- | ------ |
| `InList("A,B,C", ",")`              | `A`, `B` or `C` | `True` |
| `InList('107753;75536;86653', ';')` | `86653`         | `True` |

An exact match is required, including case and any spaces. `InList("A, B, C", ",")` will not match `B`, because the list items are `B` and `C` with leading spaces.

Single and double quotes both work for the arguments, which is handy when the list itself contains one of them.
