opendarwin man page for split

Query: split

OS: opendarwin

Section: n

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 con- sist 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 char- acters. 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)
Related Man Pages
split(1t) - opensolaris
split(n) - centos
split(1) - hpux
split(n) - osx
perl::critic::policy::builtinfunctions::prohibitstringysplit(3pm) - debian
Similar Topics in the Unix Linux Community
Split file - Include first and last row in each file.
Split a file into multiple files
Split a files into many files when condition
Splitting Concatenated Words in Input File with Words from a Master File
Continuous nc data acquisition fails ocassionally