abenitez77
IS-IT--Management
I want to get the location of a number in a string that is in a column in my table. I need to extract the FUB 058508 from the first line, FUBC059171 from second line, FUBC059180 from the 3rd line, FUBC059381 from the 4th line. I have a new field that I want to copy those values to. What command can i use to do this? I also want to copy the string from the beggining to where FUB starts and put that value in a new column. How do i do this?
mystring:
SCHUYLKILL LIVING MAGAZ FUB 058508 CD 6 4070 6 1,100.00
ATI FUBC059171 CD 6 4034 2 -400.00
AMERICAN KIDNEY STONE M FUBC059180 CD 6 4034 11 -15,000.00
PHILIPS MEDICAL SYSTEMS FUBC059381 CD 6 4045 104 1,784.12
mystring:
SCHUYLKILL LIVING MAGAZ FUB 058508 CD 6 4070 6 1,100.00
ATI FUBC059171 CD 6 4034 2 -400.00
AMERICAN KIDNEY STONE M FUBC059180 CD 6 4034 11 -15,000.00
PHILIPS MEDICAL SYSTEMS FUBC059381 CD 6 4045 104 1,784.12