
.. _stringservices:

**********
文字列処理
**********

この章で解説されているモジュールは文字列を操作するさまざまな処理を提供します。

それに加えて、Python の組み込み文字列クラスたちは :ref:`typesseq`
で説明されたシーケンス型のメソッドをサポートし、また :ref:`string-methods`
で説明された文字列固有のメソッドもサポートします。
フォーマットされた文字列の出力にはテンプレート文字列、つまり :ref:`string-formatting`
で説明された ``%`` 演算子を使います。
また、正規表現に基づいた文字列関数については :mod:`re` モジュールを参照してください。


.. toctree::

   string.rst
   re.rst
   struct.rst
   difflib.rst
   stringio.rst
   textwrap.rst
   codecs.rst
   unicodedata.rst
   stringprep.rst
   fpformat.rst
