As you can see here:
https://openacs.org/api-doc/proc-search?query_string=string_truncate
The string_truncate_middle proc is not part of the core, but resides in xotcl-request-monitor. As it is a useful proc, i would propose to move it into the acs-tcl package.