Re: variable substitution within quotes in braces
- From: Ralf Fassel <ralfixx@xxxxxx>
- Date: Fri, 04 May 2007 17:03:41 +0200
* abhilasha21 <abhilasha21.gupta@xxxxxxxxx>
| I want to assign ' xyz:abc123@xxxxxxxx' to a variable say abhi.
|
| so my string should look like :
| {<ab:max><ab:mid="$abhi"/></wyty:ert>} .
|
| Can anyone please help me to solve this trick in TCl..?
Build it in pieces:
set abhi xyz:abc123@xxxxxxxx
set result {}
append result {<ab:max><ab:mid="} $abhi {"/></wyty:ert>}
=> <ab:max><ab:mid="xyz:abc123@xxxxxxxx"/></wyty:ert>
HTH
R'
.
- References:
- variable substitution within quotes in braces
- From: abhilasha21
- variable substitution within quotes in braces
- Prev by Date: Re: join strips backslash - feature or bug?
- Next by Date: Re: Behavior of tclsh on Windows via msys [Was: Re: libraries and itclsh missing from Tcl8.4?
- Previous by thread: Re: variable substitution within quotes in braces
- Next by thread: Re: variable substitution within quotes in braces
- Index(es):