How to "interpolate a string"
From: Sektor van Skijlen (ethouris_at_pl.spamu.lubie.nie.wp.invalid)
Date: 10/05/04
- Next message: Bryan Oakley: "Re: How to "interpolate a string""
- Previous message: Kevin Kenny: "ANNOUNCE: Miguel Sofer added to Tcl Core Team"
- Next in thread: Bryan Oakley: "Re: How to "interpolate a string""
- Reply: Bryan Oakley: "Re: How to "interpolate a string""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 5 Oct 2004 17:18:26 +0000 (UTC)
Sorry, maybe it's simple, but nothing comes to my mind :)
Say, we have something like that
set one 1
set two 2
set three 3
set x {$one $two $three}
and x contains $one $two $three
how to make "1 2 3" using only the current value of x, in other words,
to force appropriate substitutions on this expression?
-- // _ ___ Michal "Sektor" Malecki <sektor(whirl)kis.p.lodz.pl> \\ L_ |/ `| /^\ ,() <ethourhs(O)wp.pl> // \_ |\ \/ \_/ /\ C++ bez cholesterolu: http://www.intercon.pl/~sektor/cbx "Java does not have pointers!"
- Next message: Bryan Oakley: "Re: How to "interpolate a string""
- Previous message: Kevin Kenny: "ANNOUNCE: Miguel Sofer added to Tcl Core Team"
- Next in thread: Bryan Oakley: "Re: How to "interpolate a string""
- Reply: Bryan Oakley: "Re: How to "interpolate a string""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|