Unmatched quotation mark issue in SAS

前端 未结 2 2008
刺人心
刺人心 2021-01-21 10:19

As is known to all, SAS needs special care to quotation marks inside a sentence.

E.g.

%let quoted=\"I\'d like to\";
data temp;
    set temp;
    quoted=\         


        
2条回答
  •  渐次进展
    2021-01-21 10:57

    I'm not sure what you're trying to achieve in the actual situation, but in the above situation it can be solved removing the double quotation marks in the data step.

    %let quoted="I'd like to";
    data temp;
        set temp;
        quoted="ed;
    run;
    

提交回复
热议问题