Tcl has many more functions to process strings than standard Prolog. Often it is possible to take advantage of this functionality even if no graphics is used. There are functions to compare, extract and modify - string , format , match and extract patterns - regexp , regsub and scan . For more information consult the Tcl/Tk book [2] or other sources listed at the end of this manual.