code: function(a, length, allowNumbers, msg) {
      allowNumbers = allowNumbers || true;
      return assert((this.assertIsString(a, allowNumbers) && a.length <= length), msg);
    }
docs: Assert that the string length is less than or equal to max