Documentation can be found at http://tcllib.sourceforge.net/doc/textutil.html Contains for example the core of the template and macro processor [expand]. Released since Tcllib 1.2. Module contains: * textutil::adjust::adjust string ?option value...? * textutil::adjust::getPredefined filename * textutil::adjust::indent string prefix ?skip? * textutil::adjust::listPredefined * textutil::adjust::readPatterns filename * textutil::adjust::undent string * textutil::repeat::strRepeat string num * textutil::repeat::blank num * '''textutil::[splitn]''' ''string'' ?''len''? * '''textutil::[splitx]''' ''string'' ?''regexp''? <
> ''regexp'' defaults to `[[\t \r\n]]+` * textutil::string::cap string * textutil::string::chop string * textutil::string::longestCommonPrefixList list * textutil::string::longestCommonPrefixList ?string? * textutil::string::tail string * textutil::string::uncap string * textutil::tabify::tabify string {num 8} * textutil::tabify::tabify2 string {num 8} * textutil::tabify::untabify string {num 8} * textutil::tabify::untabify2 string {num 8} * textutil::trim::trim string {regexp [[ \t]]+} * textutil::trim::trimleft string {regexp [[ \t]]+} * textutil::trim::trimright string {regexp [[ \t]]+} * textutil::trim::trimPrefix string prefix * textutil::trim::trimEmptyHeading string * textutil::expand <
> '''Note:''' This command comes in its own package * textutil::expander <
> This package is used by [doctools]. ''[escargo] 30 May 2007'' - This seems to be documentation for a version prior to Tcl 8.2, textutil 0.7.1. ---- !!!!!! %| [Category Package], subset [Tcllib] | [Category Word and Text Processing] | [Category String Processing] |% !!!!!!