SAS_Institute
A00-280 · Question #53
Given the SAS data set containing subject's phone numbers SUBJID PHONE 001 (908) 235-4490 002 (807) 406 0038 003 (201) 555-77 99 004 203.555.7799 005 (215)631 9494 The following SAS program is…
The correct answer is B. 2156319494. See the full explanation below for the reasoning.
Question
Given the SAS data set containing subject's phone numbers
SUBJID PHONE
001 (908) 235-4490
002 (807) 406 0038
003 (201) 555-77 99
004 203.555.7799
005 (215)631 9494
The following SAS program is submitted:
data phone;
set numbers;
phone1 = compress(phone);
phone2 = compress(phone,'()- ');
run;
What is the value of PHONE2 for subject 005?
Options
- A(215) 631-9494
- B2156319494
- C(215) 6319494
- D631-9494
How the community answered
(58 responses)- A16% (9)
- B74% (43)
- C7% (4)
- D3% (2)
Community Discussion
No community discussion yet for this question.