SAS_Institute
A00-211 · Question #271
The following SAS program is submitted: Data WORK.COMPRESS; ID = `1968 05-10 567'; NewID = compress (ID, "-"); run; What will the value of NewID be in the WORK.COMPRESS data set?
The correct answer is A. 1968 05-10 567. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
Data WORK.COMPRESS; ID = `1968 05-10 567'; NewID = compress (ID, "-"); run; What will the value of NewID be in the WORK.COMPRESS data set?
Options
- A1968 05-10 567
- B19680510567
- C196805-10567
- D1968 0510 567
How the community answered
(28 responses)- A75% (21)
- B7% (2)
- C4% (1)
- D14% (4)
Community Discussion
No community discussion yet for this question.