1 2 .. _stringservices: 3 4 *************** 5 String Services 6 *************** 7 8 The modules described in this chapter provide a wide range of string 9 manipulation operations. 10 11 In addition, Python's built-in string classes support the sequence type 12 methods described in the :ref:`typesseq` section, and also the 13 string-specific methods described in the :ref:`string-methods` section. 14 To output formatted strings use template strings or the ``%`` operator 15 described in the :ref:`string-formatting` section. Also, see the 16 :mod:`re` module for string functions based on regular expressions. 17 18 19 .. toctree:: 20 21 string.rst 22 re.rst 23 struct.rst 24 difflib.rst 25 stringio.rst 26 textwrap.rst 27 codecs.rst 28 unicodedata.rst 29 stringprep.rst 30 fpformat.rst 31 32