If you are doing this in translation, remember that you need to treat xlateOutVals as a list. I suspect that you are doing something like:
set myvar [string range “sample string” 3 7]
set xlateOutVals $myvar
where you need to set xlateOutVal as such:
set xlateOutVals
The translation is treating the “s” as the second element in xlateOutVals (since there is a space), so it is not getting put into the first output field…..