Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam A00-211 topic 2 question 49 discussion

Actual exam question from SAS Institute's A00-211
Question #: 49
Topic #: 2
[All A00-211 Questions]

The following SAS program is submitted:
data work.test;
Author = 'Agatha Christie';
First = substr(scan(author,1,' ,'),1,1);
run;
Which one of the following is the length of the variable FIRST in the output data set?

  • A. 1
  • B. 6
  • C. 15
  • D. 200
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
DEAWS
4 months, 3 weeks ago
o/p is : 15 data work.test; Author = 'Agatha Christie'; First = substr(scan(author,1,' ,'),1,1); length = lengthc(first); run;
upvoted 1 times
...
Mandar77
2 years ago
Answer is C which is 15. Executed program and checked
upvoted 1 times
...
mhminkov
3 years, 1 month ago
correct answer is C, length is 15
upvoted 1 times
...
piycc09
3 years, 6 months ago
Why answer is D?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in