НачатьНачать бесплатно

Extracting characters

Now that you understand the concept of character indexes in strings, you can begin to use them to extract characters.

In this exercise, you've been tasked with creating a Film ID and Director ID for each film and director.

The Film ID should consist of the first four letters in Title, so Doctor Strange would have the Film ID, Doct.

The Director ID should consist of the first letter followed by the final three letters, so Quentin Tarantino would have the Director ID, Qino.

Это упражнение является частью курса

Анализ данных в Google Sheets

Посмотреть курс

Инструкции к упражнению

  • In column E, create a Film ID for each film by extracting the first four letters in the Title.
  • In column F, create a Director ID for each director by extracting the first letter followed by the final three letters in Director.

Практическое интерактивное упражнение

Превратите теорию в практику с помощью одного из наших интерактивных упражнений

Начать упражнение