Python · Lesson 2.2 · Pro
String methods
Clean and inspect text with built-in methods like lower, strip, replace and count.
In this lesson
- Methods belong to a value
- Trim spaces
- Replace and count
- Ask questions about text
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.