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