Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for split (redhat section n)

split(n)			      Tcl Built-In Commands				 split(n)

_________________________________________________________________________________________________

NAME
       split - Split a string into a proper Tcl list

SYNOPSIS
       split string ?splitChars?
_________________________________________________________________

DESCRIPTION
       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 gener-
       ated if string contains adjacent characters in splitChars, or if the first or last charac-
       ter  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".

SEE ALSO
       join(n), list(n), string(n)

KEYWORDS
       list, split, string

Tcl											 split(n)


All times are GMT -4. The time now is 10:15 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password