Seth Woolley's Man Viewer

Manual for split - man n split

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

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

       split(1,n) - Split a string(3,n) into a proper Tcl list

       split(1,n) string(3,n) ?splitChars?

       Returns a list created by splitting string(3,n) at each character that is in(1,8)
       the splitChars argument.  Each element of the result list will  consist
       of the characters from string(3,n) that lie between instances of the charac-
       ters in(1,8) splitChars.  Empty list elements will be  generated  if(3,n)  string(3,n)
       contains  adjacent  characters  in(1,8)  splitChars, or if(3,n) the first or last
       character of string(3,n) is in(1,8) splitChars.  If splitChars is an empty string(3,n)
       then  each character of string(3,n) becomes a separate element of the result
       list.  SplitChars defaults to the standard white-space characters.  For
       example,  split(1,n)  "comp.unix.misc" .  returns "comp unix misc" and split(1,n)
       "Hello world" {} returns "H e l l o { } w o r l d".

       join(1,n)(n), list(n), string(3,n)(n)

       list, split(1,n), string(3,n)

Tcl                                                                   split(1,n)(n)

References for this manual (incoming links)