AI Features

Exercise: String Slicing

Test your knowledge of the slice function.

We'll cover the following...

Sort the rows given below based on their titles. Make sure you exclude the header row.

Hint: the slice method works in the same way on arrays as on strings.

Solution

First, we ...