Previous topic

6. Built-in Exceptions

Next topic

7.1. string — Common string operations

This Page

7. String ServicesΒΆ

The modules described in this chapter provide a wide range of string manipulation operations.

In addition, Python’s built-in string classes support the sequence type methods described in the typesseq section, and also the string-specific methods described in the string-methods section. To output formatted strings use template strings or the % operator described in the string-formatting section. Also, see the re module for string functions based on regular expressions.