lassign $xlateInVals input
echo $input
set xlateOutVals [string range $input 0 28]
echo $xlateOutVals
But, if the input is Urine Macroscopic I get back Urine and if the input is C-Reactive Protein I get back C-Reactive in the Testing Tool. The echo lines look like the output I want.
The space in the name appear to be the problem. Is this just a problem with the testing tool or is my tcl incorrect?