Assume we have a variable \'a\' set to 12345 :
set a 12345
Now how do i set a new variable \'b\' which contains the value of \'a\' and anot
From Tcl 8.6.2 onwards, there is string cat which can be used to solve this problem.
string cat
set b [string cat $a 9876]