Version 2 of subst

Updated 2002-06-25 01:03:48

http://www.purl.org/tcl/home/man/tcl8.4/TclCmd/subst.htm


What's the use of subst? As Joe English, who has deep experience in the area, explains, "[subst] is massively handy in text-processing applications, especially SGML and XML down-translators. [subst] and [ string map] make Tcl particularly well-suited for this type of task."

Another alternative would be to use XPath [Explain the regsub idiom.]


Tcl syntax help - Arts and crafts of Tcl-Tk programming - Category Command