Hi,
Can I use a regular expression stating the trimming criteria inTRIM function.
I have a requirement to trim the non numerals values of acolumn in a transformer stage.
can any one provide some inputs for my problem??
using regular expression in a trim function..possible?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is no capacity to use regular expressions in a trim function. You could create a stage variable containing all the non-numeric characters, and use Convert() to remove these from the input column.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.