SAS_Institute
A00-211 · Question #77
The following SAS program is submitted: data work.test; First = 'Ipswich, England'; City_Country = substr(First,1,7)!!', '!!'England'; run; Which one of the following is the length of the variable…
The correct answer is D. 25. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.test; First = 'Ipswich, England'; City_Country = substr(First,1,7)!!', '!!'England'; run; Which one of the following is the length of the variable CITY_COUNTRY in the output data set?
Options
- A6
- B7
- C17
- D25
How the community answered
(54 responses)- A13% (7)
- B4% (2)
- C4% (2)
- D80% (43)
Community Discussion
No community discussion yet for this question.