The function wrap-text
takes a string
text
and returns a list of strings, each of which is no longer than
width
. Together the strings in
strings
contain all the non-whitespace characters of
text
between
start
and
end
and are suitable for displaying this text on multiple lines of length
width
.
CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015