|
|
楼主

楼主 |
发表于 2009-7-15 01:07:45
|
只看该作者
SAS Base 2题?
73. The following SAS program is submitted:
data work.test;
First = 'Ipswich, England';
City_Country = substr(First,1,7)!!', '!!'England';
run;
Which one of the following is the length of the variable CITY_COUNTRY in the
output data set?
A. 6
B. 7
C. 17
D. 25
Answer: D
76. 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?
A. 1
B. 6
C. 15
D. 200
Answer: D
可以问一下解答的思路吗? |
|