Reply To: converting multiple NTE segments to multple OBX segments

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf converting multiple NTE segments to multple OBX segments Reply To: converting multiple NTE segments to multple OBX segments

#57606
John Perks
Participant

Alter your regular expression to include the preceding segment delimiter, e.g.

regsub -all “x0dNTE” $msg “x0dOBX” $msg

If you look for the field delimiter (|} following the segment identifier (NTE), ignoring the preceding segment delimiter (x0d), you could alter fields which end in “NTE”.

Try it at the TCL command line to test it.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10