TCL Proc to remove all active nulls from msg.

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf TCL Proc to remove all active nulls from msg.

  • Creator
    Topic
  • #49073
    Chad Ward
    Participant

      Hello everyone,

      Does anyone have a TCL proc that they can share with me, that will remove all the active nulls from an msg.  

      Thanks for any help that you can give,

      Thanks

    Viewing 1 reply thread
    • Author
      Replies
      • #60656
        James Cobane
        Participant

          Chad,

          If by ‘active null’ you mean “” between the pipes (i.e. |””|””|data|””|), then the basic commands within the tps proc would be:

           set msg [msgget $mh]

           regsub -all “” $msg “” msg

           msgset $mh $msg

          Hope this helps.

          Jim Cobane

          Henry Ford Health

        • #60657
          Chad Ward
          Participant

            James,

            Thanks for the response, I had someone email me an example proc and when I looked at their proc I realized what I had done wrong It was in the regsub -all {“”} I was using regsub -all {“”} and it was giving me for all the active nulls.  Exactly what you described in your answer.

            Thanks for the response,

            Chad

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