Some assistance would be appreciated please.
I have the following input – ’73 LEEDS T BRADFORD’
Which I want to be ’73 LEEDS & BRADFORD’
I have the following xlate procedure:
set tmp [lindex $xlateInVals 0]
regsub -all {\T\} $tmp {&} tmp
set xlateOutVals
I know it can be done simpler than this but I was echoing the output to check it at each step.
If I put this as a pre proc I get ’73’ which is what I expect as the HL7 parser will truncate it.
If I put it as a post proc I get ’73 LEEDS T BRADFORD’
Why is the post proc not doing the translate correctly – What am I doing wrong?
Regards
Garry