My Tech Notes
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
TCL Manual
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment