I have a text file and everytime I encounter "MSH|", I want to preceede it with an ascii 28 ( file seperator) and a carriage return/linefeed so I get the following results.
before:
OBX|135|FT|REPORT|135|
MSH|^~\&|CELLNETIX|PATHOLOGY|||200801121247||ORU^R01|
after:
OBX|135|FT|REPORT|135|
MSH|^~\&|CELLNETIX|PATHOLOGY|||200801121247||ORU^R01|
Thank you...
Insert ascii 28 and carriage return linefeed
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm