Thestring module contains a number of useful constants and classes,as well as some deprecated legacy functions that are also available as methodson strings. See the modulere for stringfunctions based on regular expressions.