As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tips:Handling trailing and leading blanks in SAS Macro Variable

From sasCommunity
Jump to: navigation, search

If you have a macro variable that contains leading or trailing blanks, they can be easily removed without the use of %LEFT or %TRIM. Simply:

%let macvar = &macvar;

Submitted by Murphy Choy. Contact me at my Discussion Page.