*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Tcl/split (3)              
Title
Content
Arch
Section
 

Contents


split(3Tcl)							   split(3Tcl)


NAME    [Toc]    [Back]

     split - Split a string into a proper Tcl list

SYNOPSIS    [Toc]    [Back]

     split string ?splitChars?

DESCRIPTION    [Toc]    [Back]

     Returns a list created by splitting string	at each	character that is in
     the splitChars argument.  Each element of the result list will consist of
     the characters from string	that lie between instances of the characters
     in	splitChars.  Empty list	elements will be generated if string contains
     adjacent characters in splitChars,	or if the first	or last	character of
     string is in splitChars.  If splitChars is	an empty string	then each
     character of string becomes a separate element of the result list.
     SplitChars	defaults to the	standard white-space characters.  For example,

	  split	"comp.unix.misc" .

     returns "comp unix	misc" and

	  split	"Hello world" {}

     returns "H	e l l o	{ } w o	r l d".

KEYWORDS    [Toc]    [Back]

     list, split, string


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
strtok_r Tru64 Split string into tokens
strtok Tru64 Split string into tokens
wcstok Linux split wide-character string into tokens
wcstok FreeBSD split wide-character string into tokens
privileged Tru64 General: Checks for proper privileges
tt_context_join HP-UX add a string value to the list of values
tt_session_prop_add HP-UX add a new character-string value to the end of the list of values
tt_spec_bprop_add HP-UX add a new byte-string to the end of the list of values
tt_context_quit HP-UX remove a string value from the list of values
tt_session_bprop_add HP-UX add a new byte-string value to the end of the list of values
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service