SAS_Institute
A00-202 · Question #47
The following SAS program is submitted: %let name = Patel's Restaurant; Which one of the following statements avoids problems associated with the unbalanced quotation mark?
The correct answer is A. %let name = %str(Patel%'s Restaurant). See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
%let name = Patel's Restaurant; Which one of the following statements avoids problems associated with the unbalanced quotation mark?
Options
- A%let name = %str(Patel%'s Restaurant);
- B%let name = %str(Patel's Restaurant);
- C%let name = Patel%str(')s Restaurant;
- D%let name = Patel%'s Restaurant;
How the community answered
(35 responses)- A77% (27)
- B3% (1)
- C11% (4)
- D9% (3)
Community Discussion
No community discussion yet for this question.