Hi
I was wondering if someone can share with me the SAS code necessary to scan a string for a specific character and then replace it.
I have a list of names of different lengths and would like to eliminate special characters from them.
For example:
AA5D16.6I
ALPR.25T
BETA.1O
CAPT12.5T
CONJ.625V1
DIGO.0625T
IV.D10W250
etc.
Desired Output:
AA5D166I
ALPR25T
BETA1O
CAPT125T
CONJ625V1
DIGO0625T
IVD10W250
Thanks
I was wondering if someone can share with me the SAS code necessary to scan a string for a specific character and then replace it.
I have a list of names of different lengths and would like to eliminate special characters from them.
For example:
AA5D16.6I
ALPR.25T
BETA.1O
CAPT12.5T
CONJ.625V1
DIGO.0625T
IV.D10W250
etc.
Desired Output:
AA5D166I
ALPR25T
BETA1O
CAPT125T
CONJ625V1
DIGO0625T
IVD10W250
Thanks