# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/product-suite/admin/databox-expressions/text-expressions/inlist.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
