1995-03-28 13:35:14 +00:00
|
|
|
\chapter{String Services}
|
1998-02-18 15:40:11 +00:00
|
|
|
\label{strings}
|
1995-03-28 13:35:14 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
1998-02-11 22:57:10 +00:00
|
|
|
\item[re]
|
|
|
|
--- New Perl-style regular expression search and match operations.
|
|
|
|
|
1995-03-28 13:35:14 +00:00
|
|
|
\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.
|
|
|
|
|
1997-03-03 16:03:05 +00:00
|
|
|
\item[StringIO]
|
|
|
|
--- Read and write strings as if they were files.
|
|
|
|
|
1998-04-12 03:07:35 +00:00
|
|
|
\item[cStringIO]
|
|
|
|
--- Faster version of \module{StringIO}, but not subclassable.
|
|
|
|
|
1995-03-28 13:35:14 +00:00
|
|
|
\end{description}
|