object Pretty
- Companion:
- class
Value members
Concrete methods
Break a long string across lines.
Break a long string across lines.
This method will wrap the given string at length characters,
inserting newlines and an optional prefix (lead) on every line
other than the first.
All lines in the resulting string are guaranteed to be length
or shorter.
We require lead.length < length; otherwise it would be
impossible to legally wrap lines.