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

# InList

Returns True if text is in list. Arguments are the list of items separated by the delimiter specified in the 2nd argument (usually, but not restricted to commas).

{% hint style="warning" %}
Note that an **exact match** is required e.g. text case and spaces
{% endhint %}

<table><thead><tr><th>Expression</th><th>Databox Value</th><th width="101">Result</th><th>Comments</th></tr></thead><tbody><tr><td><code>Inlist("A,B,C", ",")</code></td><td>[Any of] A, B or C</td><td>True</td><td>True as text is in list. </td></tr><tr><td><code>Inlist('107753;75536;86653', ';')</code></td><td>86653</td><td>True</td><td>Note semi-colon separator and use of single quotes to envelope arguments</td></tr></tbody></table>
