4. String Services
The modules described in this chapter provide a wide range of string
manipulation operations.  Here's an overview:
- string
 - -- Common string operations.
 - re
 - -- New Perl-style regular expression search and match operations.
 - regex
 - -- Regular expression search and match operations.
 - regsub
 - -- Substitution and splitting operations that use regular expressions.
 - struct
 - -- Interpret strings as packed binary data.
 - StringIO
 - -- Read and write strings as if they were files.
 - cStringIO
 - -- Faster version of StringIO, but not subclassable.
 
guido@python.org