text: text utilities | ||||||||||||||||||||||
|
conventions: the delimiter used is LF
"paragraph" is a character string terminated by a LF
paragraphs would normally be reformatted for display
"text" is a character string with possibly several LFs.
main verbs:
capitalize capitalize text cutpara cut character string into boxed list of paragraphs cuttext cut character string into boxed list of texts foldtext fold character string to given widthutilities: foldpara fold single paragraph to given width topara convert character string into paragraphs
capitalize text
capitalize text (vector delimited by LF, or matrix)
all first letters are capitalized, otherwise:
x.=0 capitalize first letter following a fullstop followed by
a blank or LF or LF,LF (sentence capitalization=default)
1 capitalize any letter preceded by a blank
2 capitalize first letter in any alphabetic string
cut text into boxed list of paragraphs form: cutpara text cut text into boxed list of texts form: cuttext text fold single paragraph
syntax: {width} fold data
data is character vector
fold text to given width form: width foldtext text convert text to paragraphs form: topara text replaces single LFs not followed by blanks by spaces, except for LF's at the beginning
| ||||||||||||||||||||||
|
>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User | ||||||||||||||||||||||