Hi,
I have the follow records:
N1235-A123-U876
M2345-R434-T365
N1235-A168-U824
M3457-Z541-F234
M4321-R354-U543
I want to have the following distinct output:
N1235-A
M2345-R
M3457-Z
M4321-R
The output is the 1st 5 characrters and "-" and on more character after that. May I know how I can do this?
I have the follow records:
N1235-A123-U876
M2345-R434-T365
N1235-A168-U824
M3457-Z541-F234
M4321-R354-U543
I want to have the following distinct output:
N1235-A
M2345-R
M3457-Z
M4321-R
The output is the 1st 5 characrters and "-" and on more character after that. May I know how I can do this?