validate_exactLength

Checks that a string/array's length is equal to the specific length.

Parameters
mixed $value

The value being checked

#
int $length

The exact length to meet

#
Returns
boolean

if the character length of the value meets the specified exact length, FALSE otherwise