Length list between
What this tool does
This tool helps you verify if the number of items in a specific list falls within a defined range. It is designed for users who need to ensure their data sets meet size requirements before processing. It provides a simple confirmation that the list is neither too small nor too large.
When to use it
- Verifying that a list of selected items contains at least a minimum number of entries.
- Ensuring a list of tags or categories does not exceed a maximum limit.
- Validating user input forms that require a specific number of selections.
What to expect
You will receive a simple yes or no answer indicating whether the item count is within your specified range.
Limitations
- The tool only counts the number of items; it does not check if the items are valid or unique.
- It assumes the list is provided as comma-separated values, which may not fit all data structures.
When it fails
- The list, length1, or length2 fields are left empty.
- The length values provided are not whole numbers.
- The list format is not correctly separated by commas.
Good to know
- Empty items in the list are still counted as items, so ensure your separators are placed correctly.
- This check is strictly numerical and ignores the content of the list items.
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. |