By admin | September 23, 2009

SAS Certified Base Programmer 123 Questions (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 output data set?

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

One comment | Add One

  1. admin - 09/23/2009 at 9:37 am

    A

Leave a Comment

Leave a Reply

Your email address will not be published.