tcl string replacement
问题 $arg=TEST #### Requested, NOT AVAILABLE psy #; I have a string above where the # is dynamically generated. I have to use a function in tcl to do a string replacement. Basically I need to remove the comma(,) form the above expression and display it as TEST #### Requested NOT AVAILABLE psy # Here's what I did, but it is not working. regsub -all {"Requested,"} $arg {"Requested"} arg This is where i referenced the function from: http://www.tcl.tk/man/tcl8.5/TclCmd/regsub.htm 回答1: The problem is