SAS Base Certification – Question 10

Question 10: The following SAS program is submitted:
 

1
2
3
4
data WORK.TEMP;
  Char1='0123456789';
  Char2=substr(Char1,3,4);
run;

What is the value of Char2?

Options:

A.	23 
B.	34 
C.	345 
D.	2345 

*The SAS certification sample problem and answer are sourced from the official SAS sample questions page. All answer logs, data sets, output, and commentary are provided by this blog.

Correct Answer

Incorrect Answer

Click to see Answer Explanation below

thanks for your support

2 Comments

    ashu Apr 22, 2014

    the explanation to question number 10 is incorrect please correct it .
    and the blog is super good it helps me clear my doubts .
    good work guys
    thanks

    Reply
    Joseph Jul 01, 2014

    For those that are wondering if the explanation has been corrected or not, the current explanation is correct.

    Reply

Leave a Comment

Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let us have a personal and meaningful conversation instead.