Forum Discussion
hooleylist
Nov 08, 2009Cirrostratus
Hi Christopher,
You can use string map (Click here) to do string substitutions: [string map [list " " "" "\n" ""] $str]
% set str {value with spaces
and
new lines}
% string map [list " " "" "\n" "" "with" "without"] $str
valuewithoutspacesandnewlines
Aaron