Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v8plus / html / python / lib / strings.html
CommitLineData
920dae64
AT
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<link rel="STYLESHEET" href="lib.css" type='text/css' />
5<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
6<link rel='start' href='../index.html' title='Python Documentation Index' />
7<link rel="first" href="lib.html" title='Python Library Reference' />
8<link rel='contents' href='contents.html' title="Contents" />
9<link rel='index' href='genindex.html' title='Index' />
10<link rel='last' href='about.html' title='About this document...' />
11<link rel='help' href='about.html' title='About this document...' />
12<link rel="next" href="misc.html" />
13<link rel="prev" href="python.html" />
14<link rel="parent" href="lib.html" />
15<link rel="next" href="module-string.html" />
16<meta name='aesop' content='information' />
17<title>4. String Services</title>
18</head>
19<body>
20<DIV CLASS="navigation">
21<div id='top-navigation-panel' xml:id='top-navigation-panel'>
22<table align="center" width="100%" cellpadding="0" cellspacing="2">
23<tr>
24<td class='online-navigation'><a rel="prev" title="3.34 __future__ "
25 href="module-future.html"><img src='../icons/previous.png'
26 border='0' height='32' alt='Previous Page' width='32' /></A></td>
27<td class='online-navigation'><a rel="parent" title="Python Library Reference"
28 href="lib.html"><img src='../icons/up.png'
29 border='0' height='32' alt='Up One Level' width='32' /></A></td>
30<td class='online-navigation'><a rel="next" title="4.1 string "
31 href="module-string.html"><img src='../icons/next.png'
32 border='0' height='32' alt='Next Page' width='32' /></A></td>
33<td align="center" width="100%">Python Library Reference</td>
34<td class='online-navigation'><a rel="contents" title="Table of Contents"
35 href="contents.html"><img src='../icons/contents.png'
36 border='0' height='32' alt='Contents' width='32' /></A></td>
37<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
38 border='0' height='32' alt='Module Index' width='32' /></a></td>
39<td class='online-navigation'><a rel="index" title="Index"
40 href="genindex.html"><img src='../icons/index.png'
41 border='0' height='32' alt='Index' width='32' /></A></td>
42</tr></table>
43<div class='online-navigation'>
44<b class="navlabel">Previous:</b>
45<a class="sectref" rel="prev" href="module-future.html">3.34 __future__ </A>
46<b class="navlabel">Up:</b>
47<a class="sectref" rel="parent" href="lib.html">Python Library Reference</A>
48<b class="navlabel">Next:</b>
49<a class="sectref" rel="next" href="module-string.html">4.1 string </A>
50</div>
51<hr /></div>
52</DIV>
53<!--End of Navigation Panel-->
54
55<H1><A NAME="SECTION006000000000000000000"></A>
56<A NAME="strings"></A>
57<BR>
584. String Services
59</H1>
60
61<P>
62The modules described in this chapter provide a wide range of string
63manipulation operations. Here's an overview:
64
65<P>
66<table class='synopsistable' valign='baseline'>
67 <tr class='oddrow'>
68 <td><b><tt class='module'><a href='module-string.html'>string</a></tt></b></td>
69 <td>&nbsp;</td>
70 <td class='synopsis'>Common string operations.</td></tr>
71 <tr><td><b><tt class='module'><a href='module-re.html'>re</a></tt></b></td>
72 <td>&nbsp;</td>
73 <td class='synopsis'>Regular expression search and match operations with a
74 Perl-style expression syntax.</td></tr>
75 <tr class='oddrow'>
76 <td><b><tt class='module'><a href='module-struct.html'>struct</a></tt></b></td>
77 <td>&nbsp;</td>
78 <td class='synopsis'>Interpret strings as packed binary data.</td></tr>
79 <tr><td><b><tt class='module'><a href='module-difflib.html'>difflib</a></tt></b></td>
80 <td>&nbsp;</td>
81 <td class='synopsis'>Helpers for computing differences between objects.</td></tr>
82 <tr class='oddrow'>
83 <td><b><tt class='module'><a href='module-fpformat.html'>fpformat</a></tt></b></td>
84 <td>&nbsp;</td>
85 <td class='synopsis'>General floating point formatting functions.</td></tr>
86 <tr><td><b><tt class='module'><a href='module-StringIO.html'>StringIO</a></tt></b></td>
87 <td>&nbsp;</td>
88 <td class='synopsis'>Read and write strings as if they were files.</td></tr>
89 <tr class='oddrow'>
90 <td><b><tt class='module'><a href='module-cStringIO.html'>cStringIO</a></tt></b></td>
91 <td>&nbsp;</td>
92 <td class='synopsis'>Faster version of <tt class="module">StringIO</tt>, but not
93 subclassable.</td></tr>
94 <tr><td><b><tt class='module'><a href='module-textwrap.html'>textwrap</a></tt></b></td>
95 <td>&nbsp;</td>
96 <td class='synopsis'>Text wrapping and filling</td></tr>
97 <tr class='oddrow'>
98 <td><b><tt class='module'><a href='module-codecs.html'>codecs</a></tt></b></td>
99 <td>&nbsp;</td>
100 <td class='synopsis'>Encode and decode data and streams.</td></tr>
101 <tr><td><b><tt class='module'><a href='module-encodings.idna.html'>encodings.idna</a></tt></b></td>
102 <td>&nbsp;</td>
103 <td class='synopsis'>Internationalized Domain Names implementation</td></tr>
104 <tr class='oddrow'>
105 <td><b><tt class='module'><a href='module-unicodedata.html'>unicodedata</a></tt></b></td>
106 <td>&nbsp;</td>
107 <td class='synopsis'>Access the Unicode Database.</td></tr>
108 <tr><td><b><tt class='module'><a href='module-stringprep.html'>stringprep</a></tt></b></td>
109 <td>&nbsp;</td>
110 <td class='synopsis'>String preparation, as per RFC 3453</td></tr>
111</table>
112
113<BR>
114<P>
115Information on the methods of string objects can be found in
116section&nbsp;<A href="string-methods.html#string-methods">2.3.6</A>, ``String Methods.''
117
118<DIV CLASS="navigation">
119<div class='online-navigation'>
120<p></p><hr />
121<table align="center" width="100%" cellpadding="0" cellspacing="2">
122<tr>
123<td class='online-navigation'><a rel="prev" title="3.34 __future__ "
124 href="module-future.html"><img src='../icons/previous.png'
125 border='0' height='32' alt='Previous Page' width='32' /></A></td>
126<td class='online-navigation'><a rel="parent" title="Python Library Reference"
127 href="lib.html"><img src='../icons/up.png'
128 border='0' height='32' alt='Up One Level' width='32' /></A></td>
129<td class='online-navigation'><a rel="next" title="4.1 string "
130 href="module-string.html"><img src='../icons/next.png'
131 border='0' height='32' alt='Next Page' width='32' /></A></td>
132<td align="center" width="100%">Python Library Reference</td>
133<td class='online-navigation'><a rel="contents" title="Table of Contents"
134 href="contents.html"><img src='../icons/contents.png'
135 border='0' height='32' alt='Contents' width='32' /></A></td>
136<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
137 border='0' height='32' alt='Module Index' width='32' /></a></td>
138<td class='online-navigation'><a rel="index" title="Index"
139 href="genindex.html"><img src='../icons/index.png'
140 border='0' height='32' alt='Index' width='32' /></A></td>
141</tr></table>
142<div class='online-navigation'>
143<b class="navlabel">Previous:</b>
144<a class="sectref" rel="prev" href="module-future.html">3.34 __future__ </A>
145<b class="navlabel">Up:</b>
146<a class="sectref" rel="parent" href="lib.html">Python Library Reference</A>
147<b class="navlabel">Next:</b>
148<a class="sectref" rel="next" href="module-string.html">4.1 string </A>
149</div>
150</div>
151<hr />
152<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
153</DIV>
154<!--End of Navigation Panel-->
155<ADDRESS>
156See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
157</ADDRESS>
158</BODY>
159</HTML>