Hi Experts,
I have a column such like below:
9 years
1 Week
0 6 year
1 0 Months
1 YEAR 7 MONTHS
5 YEARS
1 YEAR 6 MONTHS
I've some places double or single blanks in the ist space. I would like to remove the ist occuring space(if there are 2 spaces, 1 space to nospace. How to do achieve this? one such example could be: 1 0 years should be 10 years.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.