All you regexp/sub experts I need some help.
I have a file that contains a filename in quoted text i.e. “fred.csv”. When I try and open this in my Tcl script it complains because Tcl is trying to open “”fred.csv””.
set ofh [open $fname w]
So how do I remove the double quotes so I get fred rather than “fred”?
Thanks
Garry