The following SAS program is submitted:
data work.AreaCodes;
Phonenumber=3125551212;
Code='('!!substr(Phonenumber,1,3)!!')';
run;
Which one of the following is the value of the variable Code in the output data set?
a. ( 3)
b. (312)
c. 3
d. 312
Correct answer: a
[size=13.3333330154419px]不太明白[size=13.3333330154419px]!!substr(Phonenumber,1,3)!!,求大神解答一下!谢谢!
[size=13.3333330154419px]我觉得应该是B啊?为什么是A?请大家解答一下,谢谢了!