Skip to main content
Loading page…
Python Mastery
Chapter 3
Lesson 3 of 4
Essential String Methods
Contents
Notes
Tutor
Concept
The String Methods Library
Loading activity…
Previous
1 / 8
Continue
Contents
Notes
Discussion
Tutor
25 min
8 activities
0 of 8 done
In this lesson
1
The String Methods Library
2
split() and join() — the Dynamic Duo
3
Inspection Methods and Validators
4
Clean and Parse User Input
5
find() vs index()
6
Slug Generator
7
Pitfall: strip() Only Removes from the Edges
8
Match Method to Behaviour
Objectives
Learner can transform strings using upper, lower, strip, replace, and split
Learner can search strings using find, startswith, endswith, and count
Learner can assemble strings from lists using join
Learner can chain multiple string methods in a readable pipeline
Chapter 3 · Working with Strings
String Basics & Immutability
Indexing & Slicing
Essential String Methods
f-strings & Formatting
Previous: Indexing & Slicing
Next: f-strings & Formatting