I have this variable in sas called saying
. This variable contains the value Hello 'n Hi
I have written the following code
data work.queryData;
set work.actualData;
if saying='Hello 'n Hi' then saying2='Hello and hi';
run;
How do I escape the '
character in sas?
Use the percent symbol to escape the single quote:
'Hello %'n Hi'
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments