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?
the placement of the quotations around the delimiter the comma, is critical – if there were NO space (‘,’), the value returned would be ‘ ‘ (missing character value).
However, having the space before the delimiter (' ,') returns the 'of', so it is 'B' instead of 'D'.'''
So Correct Answer is : B
Answer should be B, delimiters mentioned are space and comma so the third word will be correct for this
upvoted 2 times
...
Log in to ExamTopics
Sign in:
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.
DEAWS
9 months, 2 weeks agoMTKV18
1 year, 5 months ago