SAS_Institute
A00-211 · Question #74
The following SAS program is submitted: data work.test; Author = 'Agatha Christie'; First = substr(scan(author,1,' ,'),1,1); run; Which one of the following is the length of the variable FIRST in…
The correct answer is D. 200. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.test; Author = 'Agatha Christie'; First = substr(scan(author,1,' ,'),1,1); run; Which one of the following is the length of the variable FIRST in the output data set?
Options
- A1
- B6
- C15
- D200
How the community answered
(29 responses)- A3% (1)
- B10% (3)
- C7% (2)
- D79% (23)
Community Discussion
No community discussion yet for this question.