NextPrevUpTopContentsIndex

wrap-text

Function
Summary

Wraps text for a given character width.

Package

capi

Signature

wrap-text text width &key start end => strings

Arguments

text

A string.

width

A positive integer.

start, end

Bounding index designators of text .

Values

strings

A list of strings.

Description

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 .

See also

wrap-text-for-pane


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex