Search This Blog

tcl: replace a sub-string with another string

puts [string map {" " "" a 1 b 2 c 3} "a b c"]
# output is 123

See also

No comments:

Post a Comment