I have a column that returns data like this:
ABC~123456789~125.25~D~04-18-2013
I am trying to use INSTR to find the 2nd ~ in the string, which marks the FIRST digit in the dollar amount.... but how to I make it end at the end of the dollar amount (the next ~)
All other values are a fixed length but the dollar amount so I have been able to grab the others working from the right and left... but the dollar amount has me baffled since it can be up to 8 digits including the decimal.
ABC~123456789~125.25~D~04-18-2013
I am trying to use INSTR to find the 2nd ~ in the string, which marks the FIRST digit in the dollar amount.... but how to I make it end at the end of the dollar amount (the next ~)
All other values are a fixed length but the dollar amount so I have been able to grab the others working from the right and left... but the dollar amount has me baffled since it can be up to 8 digits including the decimal.