Hi All,
I want to remove any non-numeric character from a string and the out put should have only numeric characters.please tell me hoe i can do this.
eg: input - AB123, o/p - 123
Thanks,
Akarsh
Removal of any non-numeric character
Moderators: chulett, rschirm, roy
Removal of any non-numeric character
Thanks,
Akarsh Kapoor
Akarsh Kapoor
DataStage PX has no builtin functions to do this. You can either write your own BuildOp to do this, or use a BASIC transform stage and the OCONV() function.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard. This question has been asked, and solutions offered, in the past. Search is your friend.
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.