Name

split

split string [splitChars]

Split a string into a list. Elements are split if separated by any of the characters in list splitChars (default is whitespace). Returns the resulting list.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.