SAS Certified Base Programmer 123 Questions (74)
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 is the value of the variable WORD in the output data set?
A. T
B. of
C. Dickens
D. ‘ ‘ (missing character value)
Topics:
SAS Base Questions |
4 Comments »
B
can u please explain why the ans is “B”
A space and a comma both are the deliminters.so third word is ‘Of’.
Delimiters are both space and comma