ADVERTISEMENT
ADVERTISEMENT
icysue
请教两个sas题
1388
3
2007-11-01 16:36:00
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
2. The following SAS program is submitted:
data work.test;
Title='A Tale of two cities, Charles J.Dickens';
Word=scan(title,3,',');
run;
Which one of the following nisthe value of the variable WORD in the output
data set?
A. T B. of C. Dickens D.' ' (missing character value)
多谢!
查看了答案,d b
我都不能理解
第一个我觉得length应该是200,是scan的default length
第二个我和你一致,因为第三个seperater不存在,所以是missing value
我都不能理解
第一个我觉得length应该是200,是scan的default length
第二个我和你一致,因为第三个seperater不存在,所以是missing value
第一题,后面是没有空格
初始化编辑器...
到底了
ADVERTISEMENT
Hot Deals
All DealsVOLANTEXRC Atomic XS高速遥控船,适合儿童和成人,现享29%折扣!
升级您的Weber烤架,享受26%折扣
Nordstrom UGG 现推出高达55%折扣
Mountain Hardwear 精选服饰特卖 最高70%折扣
Arc'teryx 戶外服飾低至 $39.99
最新折扣: Tory Burch 特卖高达50%
Converse 儿童鞋特卖 享五折优惠
Uniqlo U 系列新品发布
搶購Estee Lauder星光璀璨美妝特惠
The North Face特卖高达25%优惠
Converse款特卖 额外五折优惠
Nordstrom Fear of God Essentials 秋冬24新款系列
提升您的烘焙体验,享受30%优惠,WEPSEN 五速电动手持搅拌器及搅拌碗套装
ADVERTISEMENT