Challenge: Combine and Extract Text
Task
Swipe to start coding
You are preparing a contact list for a company directory. Your task is to combine first and last names into full names, and also extract the initials from a list of names.
- Combine the corresponding elements of
first_namesandlast_namesinto full names using a space as a separator. - Extract the first letter from each name in the
namesvector and combine them into a single string of initials.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 5.56
Challenge: Combine and Extract Text
Swipe to show menu
Task
Swipe to start coding
You are preparing a contact list for a company directory. Your task is to combine first and last names into full names, and also extract the initials from a list of names.
- Combine the corresponding elements of
first_namesandlast_namesinto full names using a space as a separator. - Extract the first letter from each name in the
namesvector and combine them into a single string of initials.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 2
single