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
Remove Training lf
System
Originally posted by David Harrison
I need to remove the trailing line feed character in a tcl variable. It's in my head somewhere but I can't shake it out.
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
David,
How about string trimright?
set junk "123n"
set junk [string trimright $junk "n"]
You could use string map but that would remove all n.
Or you always could use regsub - but why when string trimright will do the job nicely?
System
Originally posted by David Harrison
Exactly what I was groping for.
Thanks Jim