AI Workshop: learn to build apps with AI →
Strings
Master JavaScript string methods and manipulation techniques.

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


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