Rechercher une page de manuel
split.3tcl
Langue: en
Version: 278306 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
split - Split a string into a proper Tcl listSYNOPSIS
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 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" .
-
split "Hello world" {}
SEE ALSO
join(3tcl), list(3tcl), string(3tcl)KEYWORDS
list, split, stringContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre