Originally posted by Michael Hertel
set data "x"set newx "Hello, World!"set data [string map [list x $newx] $data]echo $data