I have a field that has a string of characters separated by spaces, for example:
MK RAT CM 0603 NA 17
Is there a way to concatenate it (or take out the spaces so it can look something like this:
MKRATCM0603NA17
I ultimately would like to parse this string and put the parsed strings into different fields within the same row, for example:
Field1 Field2 Field3 ...
MK RAT CM
This is to be done so I can run queries against it.
Does anyone have any good ideas on how to do this?
I was 'thinking' of converting the following psuedocode:
IF LEN(STR) <> 15 THEN ERROR_FIELD
ELSE STR(1,2) --> FIELD1
STR(3,3) --> FIELD2
STR(6,2) --> FIELD3
Please help...
MK RAT CM 0603 NA 17
Is there a way to concatenate it (or take out the spaces so it can look something like this:
MKRATCM0603NA17
I ultimately would like to parse this string and put the parsed strings into different fields within the same row, for example:
Field1 Field2 Field3 ...
MK RAT CM
This is to be done so I can run queries against it.
Does anyone have any good ideas on how to do this?
I was 'thinking' of converting the following psuedocode:
IF LEN(STR) <> 15 THEN ERROR_FIELD
ELSE STR(1,2) --> FIELD1
STR(3,3) --> FIELD2
STR(6,2) --> FIELD3
Please help...