mirror of https://github.com/python/cpython
31 lines
682 B
TeX
31 lines
682 B
TeX
\chapter{String Services}
|
|
\label{strings}
|
|
|
|
The modules described in this chapter provide a wide range of string
|
|
manipulation operations. Here's an overview:
|
|
|
|
\begin{description}
|
|
|
|
\item[string]
|
|
--- Common string operations.
|
|
|
|
\item[re]
|
|
--- New Perl-style regular expression search and match operations.
|
|
|
|
\item[regex]
|
|
--- Regular expression search and match operations.
|
|
|
|
\item[regsub]
|
|
--- Substitution and splitting operations that use regular expressions.
|
|
|
|
\item[struct]
|
|
--- Interpret strings as packed binary data.
|
|
|
|
\item[StringIO]
|
|
--- Read and write strings as if they were files.
|
|
|
|
\item[cStringIO]
|
|
--- Faster version of \module{StringIO}, but not subclassable.
|
|
|
|
\end{description}
|