Usually I would do this in an xlate. But, in this case I can not, because I have encoded the data before the message enters translation. Does anyone have a tcl proc that takes each ~ of OBX:5 and creates a OBX segment? So I get:
OBX|1|ED|||rtf payload1~rtf payload2 etc etc.
and create
OBX|1|ED|||rtf payload1
OBX|2|ED|||rtf payload2
thx,Gary