SAS Base, A00-211 Crambible 

SAS 베이스 자격증


QUESTION NO: 70


The following SAS program is submitted; 


data combine;
country = 'Italy, Russia, ireland';
found = find(country, 'i');

run;

What is the value of the variable FOUND in the output data set?


A. 1
B. 12
C. Italy 

D. Russia


find(변수, 찾고자 하는 문자) 명령어를 사용하면 몇번째 자리에 그 문자가 있는지 알려줍니다. 단, 대소문자를 구별해야합니다. 


find(country, 'i') 경우, country 변수 안에 찾고자하는 i 문자가 몇번째 있느냐란 물음이고, 12번째에 i가 오게 됩니다. 참고로 , 공백 다 자리 차지 합니다. 


Answer: B 



반응형

+ Recent posts