Function format()
formats text
string according to provided width
argument.
- Each line contains as many words as possible.
- Strings do not start or end with spaces.
- New lines are separated with
\n
. - Last string does not contain
\n
.
A script by V.