Strings
Master JavaScript string methods and manipulation techniques.

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


In this unit we’ll explore JavaScript strings in depth.

Strings are one of the fundamental data types in JavaScript, used to represent and manipulate text. You’ll learn how to create strings, access individual characters, search within strings, extract substrings, transform case, and perform common string operations.

JavaScript provides a rich set of built-in methods for working with strings, and we’ll cover all of them along with practical recipes for common tasks.

Lessons in this unit:

0: ▶︎ Introduction
1: String Basics
2: Accessing Characters
3: Searching Strings
4: Extracting Substrings
5: Transforming Strings
6: Modifying Strings
7: Trimming and Padding
8: String Recipes
9: Unicode and UTF-8
10: Printable ASCII characters list
11: Non-printable ASCII characters list