Parsing a Varchar Field
Posted: Fri Oct 07, 2005 9:05 am
I have a field in the following format:
50% (ABC: $1,000)
100% (ABC: $5,000)
I want to parse this into 2 columns so that the result looks as follows
A B
50% $1,000
100% $5,000
Is there a function in data stage or a combination of functions where I can look for a % or a $ and then take everything to the left of the percentage sign or everything to the right of the $ sign.
Thanks
Aaron
50% (ABC: $1,000)
100% (ABC: $5,000)
I want to parse this into 2 columns so that the result looks as follows
A B
50% $1,000
100% $5,000
Is there a function in data stage or a combination of functions where I can look for a % or a $ and then take everything to the left of the percentage sign or everything to the right of the $ sign.
Thanks
Aaron