- This topic has 2 replies, 2 voices, and was last updated 6 years, 10 months ago by .
-
Topic
-
I can do this fairy easy in Tcl, but wanted to know if there is an xlate equivalent method. Example: We have a NTE segment with our document feed that contains signature block information. NTE.3 is a long string with .br line breaks.
What I’ve done is string mapped that NTE.3 and replaced the .br with the ~.
What I’d like to do in the xlate is write some Tcl code that splits NTE.3 on the “~” and then create a new NTE in the output for each new line/NTE.
I’ve read some blurbs about use the ‘$’ in front of the iterate variable, but am unsure how to actually create new segment from within the xlate.
If this is too convoluted, i’ll just do it with Tcl as this is much easier.
Viewing 1 reply thread
Viewing 1 reply thread
- The forum ‘Cloverleaf’ is closed to new topics and replies.