Using the jQuery Validation plugin to validate forms, how would you confirm that a string is exactly X characters long?
example:
rules : { "someFieldName":{digits:true,minlength:20,maxlength:20} }