String length is between
What this tool does
This tool checks whether the length of the text you provide falls within a specific range defined by two numbers.
The length is measured in characters. If the text has a number of characters that is equal to or greater than the first number, and equal to or less than the second number, the tool says 'yes'. Otherwise, it says 'no'.
Common uses
- Validating that an input code or ID has the correct number of digits or letters.
- Checking that a name or title is not too short or too long for a form field.
- Ensuring a password or PIN meets minimum and maximum length requirements.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
text | Yes | test | Enter the text you want to check. For example: 'test'. |
length1 | Yes | 3 | Enter the smallest number of characters allowed. For example: 3. |
length2 | Yes | 5 | Enter the largest number of characters allowed. For example: 5. |
Output data
| Field | Description |
|---|---|
result | A yes/no indicator showing if the text length is within the specified range. For example: true. |