I have a translate that generates a hl7 message. Within the translate I have a few regsub commands that convert , to E | to F e.t.c and that works fine, however I have just encountered a problem when the user has entered a ” { (Curly Brace) ” into the message, it plays havoc with the regsub.
I prob need to replace the curly brace at the start, and then replace it back again before i release the message. I Have tried lots of different combinations but dont seem to be able to get the code to work, any one any ideas how to use regsub to replace a {.
Thanks in advance
Ray