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
Eliminate Initial Whitespace Only in OBX.5
Gordon Koch
I hope someone can help with a need I have to eliminate the initial blank or whitespace in the OBX.5 field. I do not know how to regsub only the initial whitespace until the first characters or real data. For example:
OBX|5|TX|MICRO|| XXXXXX XXXXXX XXX
should be
OBX|5|TX|MICRO||XXXXXX XXXXXX XXX
A little tcl help here...
Thank you
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Gordon,
I have a tcl proc that will do that but the essential Tcl command would be the string trimleft command. Do a help on string in hcitcl or tcl - or look in the Help on the GUI for the structure of the command.
Gordon Koch
Thank you Jim. I should have thought of that.