I would like to remove the empty repeat characters (~) from the FT1-19 field
FT1|1|||20150508|20150508|CG|99212|Ofc Vst, Est Level II||1||||||^^^3|||v72.3^^I9~789.47^^I9~411.1^^I9~v72.3^^I9~789.47^^I9~411.1^^I9~v72.3^^I9~789.47^^I9~411.1^^I9~v72.3^^I9~789.47^^I9~411.1^^I9~~~~~~~~~~~|hwinston|hwinston||22-1|hwinston|99212|
I have tried using message.removeAllNodes as shown below but that does not seem to do what I hoped
message.removeAllNodes("FT1[" + x + "]-19." + y);
Hoping to have an end result of:
FT1|1|||20150508|20150508|CG|99212|Ofc Vst, Est Level II||1||||||^^^3|||v72.3^^I9~789.47^^I9~411.1^^I9~v72.3^^I9~789.47^^I9~411.1^^I9~v72.3^^I9~789.47^^I9~411.1^^I9~v72.3^^I9~789.47^^I9~411.1^^I9|hwinston|hwinston||22-1|hwinston|99212|