List contains
What this tool does
This tool checks if a specific item is found within a list of values. You provide the list and the item to look for, and the tool tells you whether the item is present.
The list must be provided as a single line of text with items separated by commas. The check is based on exact text matching, so extra spaces or different capitalization might affect the result.
Common uses
- Verifying if a specific option or code is included in a predefined set of allowed values
- Checking if a specific user ID or reference number exists in a provided list of identifiers
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
list | Yes | 1,2,3 | Type the list of items separated by commas, such as 'apple,banana,cherry'. This is required. |
text | Yes | 2 | Type the specific item you want to find in the list, such as 'banana'. This is required. |
Output data
| Field | Description |
|---|---|
result | Returns true if the item is found in the list, or false if it is not. For example, true if you are looking for 'banana' in 'apple,banana'. |