|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
join(n) Tcl Built-In Commands join(n)
______________________________________________________________________________
NAME
join - Create a string by joining together list elements
SYNOPSIS
join list ?joinString?
_________________________________________________________________
DESCRIPTION
The list argument must be a valid Tcl list. This command returns the
string formed by joining all of the elements of list together with
joinString separating each adjacent pair of elements. The joinString
argument defaults to a space character.
EXAMPLES
Making a comma-separated list:
set data {1 2 3 4 5}
join $data ", "
=> 1, 2, 3, 4, 5
Using join to flatten a list by a single level:
set data {1 {2 3} 4 {5 {6 7} 8}}
join $data
=> 1 2 3 4 5 {6 7} 8
SEE ALSO
list(n), lappend(n), split(n)
KEYWORDS
element, join, list, separator
Tcl join(n)
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Sat Sep 8 16:41:01 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
svn man page (6167 hits) (FreeBSD 6.2)
sqlite3 man page (5598 hits) (openSUSE 10.2)
adv_cap_autoneg man page (5045 hits) (Solaris 10 11_06)
CPAN man page (4791 hits) (Suse Linux 10.1)
ssh man page (4439 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (3525 hits) (Solaris 10 11_06)
signal man page (3395 hits) (Suse Linux 10.1)
netcat man page (3385 hits) (Suse Linux 10.1)
pprosetup man page (2893 hits) (Solaris 10 11_06)
startproc man page (2739 hits) (Suse Linux 10.1)
|