Python · Lesson 2.2 · Pro

String methods

Clean and inspect text with built-in methods like lower, strip, replace and count.

In this lesson

  1. Methods belong to a value
  2. Trim spaces
  3. Replace and count
  4. Ask questions about text