MSH… 0D 0A
PID… 0D 0A
FT1… 0D 0A
I need
MSH… 0D 0A 0D 0A
PID… 0D 0A 0D 0A
FT1… 0D 0A 0D 0A
I’m trying to add a post translate tcl proc to do this but have been unable to get the right string map command. Here is what I’m trying based on clovertech searches on this subject but it doesn’t seem to recognize the string to be mapped. We are on an AIX platform.
set newmsg [string map {x0Dx0A x0Dx0Ax0Dx0A} $msg]
I also tried…
set newmsg [string map {\r\n \r\n\r\n} $msg]
Neither seems to modify the message at all in my testing.
Any help here would be appreciated!
thanks,
Mark Carey
Mayo Clinic Health System