Write a program to strip all occurrences of these


When people enter phone numbers, they typically enter it in a few different formats:

(919)866-5555

919-866-5555

9198665555

Write a program to strip all occurrences of these characters: '(', ')' and '-'. Also, strip all the leading and trailing whitespace characters. Display the stripped phone number

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Write a program to strip all occurrences of these
Reference No:- TGS01384920

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)