infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
TCL Proc to remove all active nulls from msg.
System
Originally posted by Chad Ward
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
Find more posts tagged with
Clovertech
Comments
jcobane1
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
System
Originally posted by Chad Ward
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