I need help writing the formula for the following scenario.
I have a text data field that contains a part number. Some of the part numbers end in /SPxx and some end in SP/xx where xx is a random number. I only want the data prior to the /SP or SP/
LDC3916
LDC3916/SP01
LDC9615SP/02
LDC2926339/SP03
LDC2926339SP/00
In the samples above, I want to strip off everything so the data would like
LDC3916
LDC3916
LDC9615
LDC2926339
LDC2926339
-deb
I have a text data field that contains a part number. Some of the part numbers end in /SPxx and some end in SP/xx where xx is a random number. I only want the data prior to the /SP or SP/
LDC3916
LDC3916/SP01
LDC9615SP/02
LDC2926339/SP03
LDC2926339SP/00
In the samples above, I want to strip off everything so the data would like
LDC3916
LDC3916
LDC9615
LDC2926339
LDC2926339
-deb