My input is something like this:
Input:'ABC DEF GHI'
Input string has few spaces in between, and I want the output in such a way that Zeros come in everyblank space. All the spaces need to be replaced by zeros
Output shoud be: 'ABC00DEF0GHI'. Should i have to use transformer to achieve this? And is there any function or a routine that will help me do this?
Adding Zeros to string
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 12
- Joined: Wed Jul 25, 2007 6:56 am
- Location: Hyd
Re: Adding Zeros to string
Yes
You can use convert function in transformer
Thanks,
Satish
You can use convert function in transformer
Thanks,
Satish
-
- Participant
- Posts: 334
- Joined: Fri Dec 01, 2006 5:17 am
- Location: Texas
Hi,
You can use Parallel version of Ereplace()...
The below link might help you out:
viewtopic.php?t=106358&highlight=Ereplace
With the help pf the above link you can also build your own routine to achieve this...![Smile :)](./images/smilies/icon_smile.gif)
You can use Parallel version of Ereplace()...
![Wink :wink:](./images/smilies/icon_wink.gif)
The below link might help you out:
viewtopic.php?t=106358&highlight=Ereplace
With the help pf the above link you can also build your own routine to achieve this...
![Smile :)](./images/smilies/icon_smile.gif)
http://findingjobsindatastage.blogspot.com/
Theory is when you know all and nothing works. Practice is when all works and nobody knows why. In this case we have put together theory and practice: nothing works. and nobody knows why! (Albert Einstein)
Theory is when you know all and nothing works. Practice is when all works and nobody knows why. In this case we have put together theory and practice: nothing works. and nobody knows why! (Albert Einstein)
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 42
- Joined: Mon Apr 21, 2008 1:49 am