This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!Submit Feedback
A solution to last week’s challenge can be found here.
To solve this week’s challenge, use Designer Cloud or Designer Desktop.
Do you have to reformat lists because the last name and first name are listed in a different order?
In this weekly challenge, you need to rearrange an improperly formatted list of subscribers. Some of the subscribers’ names are listed with the last name(s) followed by a comma, and then the first name(s).
Your goal is to reorder the list with the first name(s) followed by the last name(s), and put the list in alphabetical order. For example, the subscriber “BORROEL GOMEZ, JUANA” should be listed as “JUANA BORROEL GOMEZ” with no punctuation.
Note that some subscribers can have more than one first name or last name.
Haven’t heard about Designer Cloud yet? Watch a demo.
My solution can be improved by handling edge cases due to suffixes as 'JR' but here's my take