I think it is better to have a separate method with 'maxlen' parameter and call it from `__str__`