Length validator
Validates the length of a string
Usage
$string - (str) the string you wish to validate.
$minlength - (int) set to 0 for no minimum length.
$maxlength - (int) sets the maximum valid length of the string
Boolean return
Validates the length of a string
$string - (str) the string you wish to validate.
$minlength - (int) set to 0 for no minimum length.
$maxlength - (int) sets the maximum valid length of the string
Boolean return
Comments