Aug 10, 2011

14

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?

A. C
B. A
C. Agatha
D. ' ' (missing character value)

No comments:

Post a Comment