textutil_string man page on Ubuntu

Man page or keyword search:  
man Server   6591 pages
apropos Keyword Search (all sections)
Output format
Ubuntu logo
[printable version]

textutil::string(3Text and string utilities, macro procetextutil::string(3tcl)

______________________________________________________________________________

NAME
       textutil::string - Procedures to manipulate texts and strings.

SYNOPSIS
       package require Tcl  8.2

       package require textutil::string	 ?0.7?

       ::textutil::string::chop string

       ::textutil::string::tail string

       ::textutil::string::cap string

       ::textutil::string::uncap string

       ::textutil::string::longestCommonPrefixList list

       ::textutil::string::longestCommonPrefix ?string...?

_________________________________________________________________

DESCRIPTION
       The package textutil::string provides miscellaneous string manipulation
       commands.

       The complete set of procedures is described below.

       ::textutil::string::chop string
	      A convenience command. Removes the last character of string  and
	      returns the shortened string.

       ::textutil::string::tail string
	      A convenience command. Removes the first character of string and
	      returns the shortened string.

       ::textutil::string::cap string
	      Capitalizes the first character of string and returns the	 modi‐
	      fied string.

       ::textutil::string::uncap string
	      The  complementary  operation to ::textutil::string::cap. Forces
	      the first character of string to lower case and returns the mod‐
	      ified string.

       ::textutil::string::longestCommonPrefixList list

       ::textutil::string::longestCommonPrefix ?string...?
	      Computes	the longest common prefix for either the strings given
	      to the command, or the strings specified in the single list, and
	      returns it as the result of the command.

	      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.

BUGS, IDEAS, FEEDBACK
       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://source‐
       forge.net/tracker/?group_id=12883].  Please also report any  ideas  for
       enhancements you may have for either package and/or documentation.

SEE ALSO
       regexp(3tcl), split(3tcl), string(3tcl)

KEYWORDS
       capitalize, chop, common prefix, formatting, prefix, string, uncapital‐
       ize

CATEGORY
       Text processing

textutil			      0.7		textutil::string(3tcl)
[top]

List of man pages available for Ubuntu

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net