Aug 10, 2011

22


The following SAS program is submitted:


data work.test;
First = 'Ipswich, England';
City = substr(First,1,7); City_Country = City!!', '!!'England';
run;

Which one of the following is the value of the variable CITY_COUNTRY in the output data set?

A. Ipswich , England
B. Ipswich, 'England'
C. Ipswich, England
D. Ipswich!!

Answer: A

No comments:

Post a Comment