tcl-quill 0.3.0: Quill Project Automation System for Tcl/Tk

stringutils(n): String Utilities -- quill(n)

SYNOPSIS
DESCRIPTION
COMMANDS
AUTHOR
SEE ALSO

SYNOPSIS

package require quill 0.3.0
namespace import ::quill::*
outdent text
tighten text

DESCRIPTION

stringutils(n) contains string-manipulation commands.

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.

AUTHOR

Will Duquette

SEE ALSO

quill(n).
Generated from stringutils.manpage on Sat Nov 08 09:29:59 PST 2014