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
xlt_filter
System
Originally posted by Mason Miller
I am using xlt_filter {-37{+ }-t37-c} This is putting the spaces at the start of the line I want it to put the spaces at the end of the line does anybody have any ideas?
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Anonymous
I'm not sure what you want to do, but to put the spaces at the end of the line try this:
xlt_filter {-e-37{+ }}
But I recomend using TCL to do that directly...
if using a tclproc:
set variable "$variable "
or
append variable $spaces
or
append variable [string repeat " " 37]
If in a xlate, enter in the preproc the following line:
set xlateOutVals [append xlateInVals [string repeat " " 37]]
but remember that xlateInVals is a list, so to play safe you may want to force the lindex 0.
System
Originally posted by Mason Miller
What I am trying to do is make the a field 37 characters if it is not 37 character then I what to add spaces if it is more than 37 character I want to take off the character at the end of the line. I am using xlate.
Thanks
System
Originally posted by Anonymous
Then try in the xlate
set xlateOutVals [string range [append xlateInVals [string repeat " " 37]] 0 36]
or
xlt_filter {-e-37{+ }-h-j37-a}
I'm not sure if the -h is necessary, but just in case.
System
Originally posted by Rentian Huang
Just curious, I have never seen/used this xlt_filter before, is it a custom tcl?
System
Originally posted by Anonymous
Is a set of TCL libraries developed by Quovadx. It was done to support the migration from the old Hublink interfaces. I don't think Quovadx is supporting it any more, but I could be wrong...
System
Originally posted by Mason Miller
That worked great thank you very much.