I have spent too much time trying to figure this out. Can you guys point me in the right direction? I need to null out part of a component field where it starts with the tilde, ” ~ ” character and having no luck with copying @null and pathcopying @null to the 1(0).0(0).PV1.00138(0).[2]
Here is the example:
PV1|1|O|1189-6311|||||20045^TEST MD~1122 NE 13TH STREET~ORI ROOM 288A~OKLAHOMA CITY,OK~73117~405-271-4647|||||||||||
Desired OUTPUT:
PV1|1|O|1189-6311|||||20045^TEST MD|||||||||||
Thanks!