單項選擇題

下述程序運(yùn)行后,city2的length 為多少?()
data a;
length city $10;
city="shandong";
city2=trim(city);
run;

A.8
B.10
C.20
D.2


您可能感興趣的試卷

你可能感興趣的試題

5.單項選擇題試將數(shù)據(jù)集SASHELP.workers第10到15條觀測中滿足條件"ELECTRIC>260"的觀測提取出來,生成新的數(shù)據(jù)集tmp,以下哪種解法正確?()

A.data tmp;set SASHELP.workers(firstobs=10obs=15);if ELECTRIC>260;run;proc print;run;
B.data tmp;set SASHELP.workers(firstobs=10obs=15);where ELECTRIC>260;run;proc print;run;
C.data tmp;set SASHELP.workers(firstobs=10obs=5);where ELECTRIC>260;run;proc print;run;
D.data tmp;set SASHELP.workers(firstobs=10obs=5);if ELECTRIC>260;run;proc print;run;

最新試題