Trim Lines to Max Length

Shorten each line to a specific maximum number of characters.