Question: Use the methods of the String class to edit a phone number 4. Use the methods of the String class to edit a phone number

 Use the methods of the String class to edit a phone

Use the methods of the String class to edit a phone number 4. Use the methods of the String class to edit a phone number when the user enters a phone number and clicks the Edit Phone Number button. This code should remove all special characters from the user entry so the number consists of 10 digits. Then, it should format the phone number with hyphens. These results should be displayed in a message box like the one that follows. For simplicity, you can assume that the user enters ten digits. Edit Phone Number 635) 442-9900 Estered Digits only Standard format 555-40-9930 OK 5. Test the application with a variety of entry formats to make sure it works. When you're done, close the form

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!