The FOLD function folds text at word boundaries.
Format
NEW=FOLD(string,width) |
Description
The string is broken into multiple lines, if necessary, so that each line is no longer than the specified width. Each line is split at a blank (if possible).
The string generated consists of lines separated by attribute marks at the fold points.
If width is specified as 1, FOLD( ) returns each character within the string as a separate attribute.
See Also