string
This module defines some constants useful for checking character
classes and some useful string functions. See the modules
regex and regsub for string functions based on regular
expressions.
The constants defined in this module are are:
The functions defined in this module are:
This module is implemented in Python. Much of its functionality has
been reimplemented in the built-in module strop. However, you
should never import the latter module directly. When
string discovers that strop exists, it transparently
replaces parts of itself with the implementation from strop.
After initialization, there is no overhead in using
string instead of strop.
strop