Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Combine and Extract Text | String Manipulation and Cleaning
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Working with Text, Dates, and Files in R

bookChallenge: Combine and Extract Text

Aufgabe

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_names and last_names into full names using a space as a separator.
  • Extract the first letter from each name in the names vector and combine them into a single string of initials.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Combine and Extract Text

Swipe um das Menü anzuzeigen

Aufgabe

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_names and last_names into full names using a space as a separator.
  • Extract the first letter from each name in the names vector and combine them into a single string of initials.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
single

single

some-alt