Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAA 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
@benjimoser very simplified. nice job!
My solution using regex replace: