Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this exercise, you'll add code that parses an email address and formats the city, state, and zip code portion of an address String Handling

image text in transcribed

image text in transcribed

In this exercise, you'll add code that parses an email address and formats the city, state, and zip code portion of an address String Handling Email anne@murach.com Parse City: State Zip code: 93722 Fresno ca Format Exit Parsed String Formatted String User name: anne Domain name: murach.com City, State, Zip: Fresno, CA 93722 OK OK Open the project and add code to parse an email address 12. Open the StringHandling project attached to this lab 13. Add code to parse the email address into two parts when the user clicks the Parse button: the user name before the a sign and the domain name after the @ sign. Be to check that the email contains an sign before you parse it, and display an error message if it doesn't. Also, be sure to remove any leading or trailing spaces that the user enters Display the results in a message box like the first one shown above 14. Test the application with both valid and invalid email addresses to be sure it works

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions

Question

=+ Who do you think is right? Why?

Answered: 1 week ago