Search⌘ K
AI Features

Challenge: Calculate String Length

Learn to manipulate text data in R by calculating the length of words containing the letters 'sh'. This lesson teaches how to read files, convert text to lowercase, split strings into lists, and apply pattern detection to extract and measure specific words using R data structures.

We'll cover the following...

Solve the exercise

We are given a text file. The words in the text file are phonetically similar, with a heavy emphasis on the sh letters. Our task is to find the lengths of each word that include the sh sounds. Please follow the ...