stringutils(n): String Utilities -- quill(n)
SYNOPSIS
DESCRIPTION
COMMANDS
AUTHOR
SEE ALSO
package require quill 0.3.0
namespace import ::quill::*
outdent text
tighten text
stringutils(n) contains string-manipulation commands.
stringutils(n) defines the following commands:
- outdent text
-
This command outdents a block of text to the left margin, thus
allowing a block of text that should have no indent to be
indented inline with a Tcl routine. The amount of indent to be
removed is based on the first non-blank line. Leading and trailing
blank lines are deleted. For example,
% outdent {
An Indented Block
of text that needs
To be Outdented.
}
An Indented Block
of text that needs
To be Outdented.
%
- tighten text
-
Tightens up the whitespace in text, removing excess whitespace.
A tightened string has no leading or trailing whitespace, and all
internal whitespace is reduced to single space characters.
Will Duquette
quill(n).
Generated from stringutils.manpage on Sat Nov 08 09:29:59 PST 2014