Check Data quality $1.00 / 1,000 calls

String length is lower or equal

What this tool does

This tool checks if the text you enter is short enough. It compares the number of characters in your text against a specific number you provide. This helps you ensure data fits within a required size limit.

When to use it

  • Checking if a short name or code fits in a limited text box.
  • Validating that a summary or title is not too long.
  • Ensuring data entry does not exceed a specific character count.
  • Quickly verifying text length before saving a record.

What to expect

You will get a simple yes or no answer. This tells you if the text length is less than or equal to the limit you set.

Limitations

  • It only counts characters in the text you provide.
  • It does not check the content or meaning of the text.
  • Spaces and special symbols count as characters.

When it fails

  • The input is empty or malformed.
  • The service is temporarily unavailable.

Good to know

  • Make sure the limit number is a valid whole number.
  • Empty text is always considered to have zero length.

Input data

Parameter Required Example Description
text Yes test Enter the text you want to check. This is required.
length Yes 4 Enter the maximum number of characters allowed, as a whole number (e.g., '10'). This is required.

Output data

Field Description
result Returns 'true' if the text length is less than or equal to the limit, or 'false' if it is longer.