mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	
		
			
	
	
		
			32 lines
		
	
	
	
		
			746 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
		
		
			
		
	
	
			32 lines
		
	
	
	
		
			746 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								.. _stringservices:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								***************
							 | 
						||
| 
								 | 
							
								String Services
							 | 
						||
| 
								 | 
							
								***************
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								The modules described in this chapter provide a wide range of string
							 | 
						||
| 
								 | 
							
								manipulation operations.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								In addition, Python's built-in string classes support the sequence type
							 | 
						||
| 
								 | 
							
								methods described in the :ref:`typesseq` section, and also the
							 | 
						||
| 
								 | 
							
								string-specific methods described in the :ref:`string-methods` section.
							 | 
						||
| 
								 | 
							
								To output formatted strings use template strings or the ``%`` operator
							 | 
						||
| 
								 | 
							
								described in the :ref:`string-formatting` section. Also, see the
							 | 
						||
| 
								 | 
							
								:mod:`re` module for string functions based on regular expressions.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								.. toctree::
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   string.rst
							 | 
						||
| 
								 | 
							
								   re.rst
							 | 
						||
| 
								 | 
							
								   struct.rst
							 | 
						||
| 
								 | 
							
								   difflib.rst
							 | 
						||
| 
								 | 
							
								   stringio.rst
							 | 
						||
| 
								 | 
							
								   textwrap.rst
							 | 
						||
| 
								 | 
							
								   codecs.rst
							 | 
						||
| 
								 | 
							
								   unicodedata.rst
							 | 
						||
| 
								 | 
							
								   stringprep.rst
							 | 
						||
| 
								 | 
							
								   fpformat.rst
							 | 
						||
| 
								 | 
							
								
							 |