Length list between
What this tool does
This tool checks if the number of items in your list falls between two specified numbers.
It counts the items and compares them to your input limits. Note that empty items in the list (caused by consecutive separators) are included in the count.
Common uses
- Validating that a list of choices has a minimum and maximum number of options.
- Ensuring a batch of tasks has a manageable size for processing.
- Checking if a list of tags meets specific content limits.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
list | Yes | 1,2,3 | Type the list items separated by commas (e.g., 'apple, banana, cherry'). |
length1 | Yes | 3 | Enter the minimum number of items expected (e.g., '3'). |
length2 | Yes | 4 | Enter the maximum number of items expected (e.g., '10'). |
Output data
| Field | Description |
|---|---|
result | A yes/no indicator showing whether the list length is between the two numbers you provided. |