Checks that a string’s length is between a minimum and maximum value.
Checks that a string’s length is between a minimum and maximum value. A value passes when its number of characters falls within the range you set, counting both ends of the range as valid. Use this to confirm that a value is neither too short nor too long, for example a password that must be 6 to 12 characters or a description that must stay within a size limit.