Originally posted by Tom Arrowsmith
I am restricting a string in an xlate to 26 characters
With the help of some here - and with a slight modification - I have been using the following code snippet in the xlate with success:
set tmp [string range [lindex $xlateInVals] 0 25]
set xlateOutVals
BUT - the output in the HL7 messages has curly brackets "{}" around the string. This makes it look like this: ...|{3300 GALLOWS RD}^..., if less than 26 characters, and like this: ...|{611 SOUTH CARLIN SPRINGS R^... if the original string exceeded 26 characters.How do I get rid of the curly brackets? Or is there a more elegant solution?Thanks!