How can I remove ~ delimiter in text ?

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How can I remove ~ delimiter in text ?

  • Creator
    Topic
  • #50392
    Dave Loricchio
    Participant

    Inbound message contains  ~  delimiter in nonrepeating OBR 13.   Does anyone have tcl code I could add to the translation?

    Thanks,

Viewing 3 reply threads
  • Author
    Replies
    • #65940
      Jim Kosloskey
      Participant

      Dave,

      Try specifying the OBR-13 field as repeating in the variant and then iterate through the repetitions and concatenate the repetitions back together (if that is what you want) in a temp variable – if you don’t want to use or wait forTcl.

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #65941
      Michael Hertel
      Participant

      set msg [join [split $OBX13 ~] {}]

      or

      set xlateOutVals [join [split $xlateInVals ~] {}]

    • #65942

      You could also use a pre-proc to remove that specific tilda.

      -- Max Drown (Infor)

    • #65943
      Bala Pisupati
      Participant

      I have a tcl proc that you can modify according to your requirement. In my proc I am removing the & in PV2 segment.You can change according to your needs.

Viewing 3 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,296
Replies
34,439
Topic Tags
287
Empty Topic Tags
10