Hi folks.
I am using Crystal Reports XI R2 against an Oracle DB using native driver.
I have a field with values such as 'DD port.1.2.1' and 'DD port.12.3.19'. Note that all of the numerics can be either single digits or double digits so the field length varies. Basically I want to strip the values out so that the value after the first decimal point is placed in a formula, the values after the second decimal point is captured and the same with the third.
Data:
RowID,Value
1,'DD port.1.2.1'
2,'DD port.12.3.19'
Output:
RowID,Shelf,Slot,Port
1,1,2,1
2,12,3,19
Has anyone done this as I have not stripped out values when there are multiple delimiters ?
Many thanks - Alec
I am using Crystal Reports XI R2 against an Oracle DB using native driver.
I have a field with values such as 'DD port.1.2.1' and 'DD port.12.3.19'. Note that all of the numerics can be either single digits or double digits so the field length varies. Basically I want to strip the values out so that the value after the first decimal point is placed in a formula, the values after the second decimal point is captured and the same with the third.
Data:
RowID,Value
1,'DD port.1.2.1'
2,'DD port.12.3.19'
Output:
RowID,Shelf,Slot,Port
1,1,2,1
2,12,3,19
Has anyone done this as I have not stripped out values when there are multiple delimiters ?
Many thanks - Alec