QUESTION 72
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!!
B. Ipswich, England
C. Ipswich, 'England'
D. Ipswich , England
Answer: D
请问下大家,为什么city的长度和 First的长度是一样的?
谢谢!