Skip to main content
Part 2 of 7 · Chapter 1 of 4

Text Is Not a Single Thing

A string looks like one piece of text until you need its third character. Slice a sentence apart by position and find out why the end index is never the one you first guess.

Beginner9 min read

Make a free account to read on

Every chapter is free — an account is how your progress, XP, and streak follow you from your laptop to your phone, and how you show up on the leaderboard. No payment, no trial.