I have a large free text field that I need to truncate to 50 characters. I have the pre proc worked out as this
set var [lindex $xlateInVals 0]
set xlateOutVals [string range $var 0 49]
It works except the output only includes values in the field up to a space. So if there are spaces in the field it only gets the data up to the first space.