SAS_Institute
A00-211 · Question #75
The following SAS program is submitted: data work.test; Author = 'Christie, Agatha'; First = substr(scan(author,2,' ,'),1,1); run; Which one of the following is the value of the variable FIRST in…
The correct answer is A. A. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.test; Author = 'Christie, Agatha'; First = substr(scan(author,2,' ,'),1,1); run; Which one of the following is the value of the variable FIRST in the output data set?
Options
- AA
- BC
- CAgatha
- D' ' (missing character value)
How the community answered
(22 responses)- A77% (17)
- B5% (1)
- C14% (3)
- D5% (1)
Community Discussion
No community discussion yet for this question.