Added method Format::shorten()