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.
%STR macro function
The %STR macro function is a macro language quoting function.
- %STR( string )
The %STR macro function can be used to mask any characters or character strings that could be misinterpreted by the SAS compiler as part of SAS code. However, macro variables are still recognized and resolved within the enclosed character string. The %STR macro function allows special characters such as unmatched single or double quotes, parentheses, and semicolons to be included in a character string without causing syntax errors.
- A Serious Look at Macro Quoting
- Resolving a macro variable within single quotes