powered by
Specify the maximum length of a character
constraints.checkMaxLength(constraint, value)
TRUE if character length is equal to or less than the constraint
numeric constraint, maximum character length
character to meet the constraint
Constraints specifications
constraints.checkMaxLength(constraint = list(2), value = "hi") constraints.checkMaxLength(constraint = 2, value = "hello")
Run the code above in your browser using DataLab