i******r 发帖数: 323 | 1 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 | I**A 发帖数: 96 | 2 the lenght of the return value of substr(First,1,7) is the same as the
length of First. so, count by yourself you can figure it out. |
|