My Tech Notes
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
TCL Manual
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment