Originally posted by Chad Ward
Hello everyone,
I'm having trouble with trying to change all the .br (in an obx.5 segment) to <x0d><x0a>.
Here is the first part of the incoming message:OBX|1|FT|POSTOP^PostOperative^SM||.br\.br\.br\.br\.brPERIOPERATIVE
Here is the tcl:regsub -all {\.br\} $xlateInVals "<x0d><x0a>" xlateOutVals
Here is the result and it still has the trailing in it.<0xd><0xa><x0d><x0a><x0d><x0a><x0d><x0a><x0d><x0a><x0d><x0a>PERIOPERATIVE RECOR
What have I done wrong?
Thanks for any suggestions,
Chad