textutil::string(3tcl) | Text and string utilities, macro processing | textutil::string(3tcl) |
textutil::string - Procedures to manipulate texts and strings.
package require Tcl 8.2
package require textutil::string ?0.8?
::textutil::string::chop string
::textutil::string::tail string
::textutil::string::cap string
::textutil::string::capEachWord string
::textutil::string::uncap string
::textutil::string::longestCommonPrefixList list
::textutil::string::longestCommonPrefix ?string...?
The package textutil::string provides miscellaneous string manipulation commands.
The complete set of procedures is described below.
If no strings were specified the result is the empty string. If only one string was specified, the string itself is returned, as it is its own longest common prefix.
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category textutil of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also report any ideas for enhancements you may have for either package and/or documentation.
When proposing code changes, please provide unified diffs, i.e the output of diff -u.
Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.
regexp(3tcl), split(3tcl), string(3tcl)
capitalize, chop, common prefix, formatting, prefix, string, uncapitalize
Text processing
0.8 | tcllib |