Reputation: 41
I want to print a part of filename in Tcl like ....
Suppose I have a set string "/home/Documents/galaxy/my_folder"
and instead of puts $string
to get the whole string, I want to print my_folder
only.
How can I do so ? please suggest if there is any appropriate Tcl command.
Upvotes: 1
Views: 347