textutil::repeat(n) | Text and string utilities, macro processing | textutil::repeat(n) |
textutil::repeat - Procedures to repeat strings.
package require Tcl 8.2
package require textutil::repeat ?0.7?
::textutil::repeat::strRepeat text num
::textutil::repeat::blank num
The package textutil::repeat provides commands to generate long strings by repeating a shorter string many times.
The complete set of procedures is described below.
Note: If the Tcl core the package is loaded in provides the command string repeat then this command will be implemented in its terms, for maximum possible speed. Otherwise a fast implementation in Tcl will be used.
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category textutil of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation.
regexp(n), split(n), string(n)
blanks, repetition, string
Text processing
0.7.1 | textutil |