Add to git.
[c2lib.git] / doc / ptrimback.3.html
1 <html>
2 <head>
3 <meta name="generator" content="groff -Thtml, see www.gnu.org">
4 <meta name="Content-Style" content="text/css">
5 <title>ptrim</title>
6 </head>
7 <body>
8
9 <h1 align=center>ptrim</h1>
10 <a href="#NAME">NAME</a><br>
11 <a href="#SYNOPSIS">SYNOPSIS</a><br>
12 <a href="#DESCRIPTION">DESCRIPTION</a><br>
13 <a href="#AUTHOR">AUTHOR</a><br>
14 <a href="#LICENSE">LICENSE</a><br>
15 <a href="#VERSION">VERSION</a><br>
16
17 <hr>
18 <!-- Creator     : groff version 1.17.2 -->
19 <!-- CreationDate: Fri May  3 14:58:09 2002 -->
20 <a name="NAME"></a>
21 <h2>NAME</h2>
22 <table width="100%" border=0 rules="none" frame="void"
23        cols="2" cellspacing="0" cellpadding="0">
24 <tr valign="top" align="left">
25 <td width="10%"></td><td width="90%">
26 ptrim, ptrimfront, ptrimback - remove whitespace from the ends of a string</td></table>
27 <a name="SYNOPSIS"></a>
28 <h2>SYNOPSIS</h2>
29
30 <table width="100%" border=0 rules="none" frame="void"
31        cols="2" cellspacing="0" cellpadding="0">
32 <tr valign="top" align="left">
33 <td width="10%"></td><td width="90%">
34 <pre><b>#include &lt;pstring.h&gt;
35
36 char *ptrim (char *str);
37 char *ptrimfront (char *str);
38 char *ptrimback (char *str);
39 </b></pre></td></table>
40 <a name="DESCRIPTION"></a>
41 <h2>DESCRIPTION</h2>
42
43 <table width="100%" border=0 rules="none" frame="void"
44        cols="2" cellspacing="0" cellpadding="0">
45 <tr valign="top" align="left">
46 <td width="10%"></td><td width="90%">
47 <b>ptrim</b> modifies a string of text in place, removing
48 any whitespace characters from the beginning and end of the
49 line.</td></table>
50
51 <table width="100%" border=0 rules="none" frame="void"
52        cols="2" cellspacing="0" cellpadding="0">
53 <tr valign="top" align="left">
54 <td width="10%"></td><td width="90%">
55 <b>ptrimfront</b> is the same as <b>ptrim</b> but only
56 removes whitespace from the beginning of a
57 string.</td></table>
58
59 <table width="100%" border=0 rules="none" frame="void"
60        cols="2" cellspacing="0" cellpadding="0">
61 <tr valign="top" align="left">
62 <td width="10%"></td><td width="90%">
63 <b>ptrimback</b> is the same as <b>ptrim</b> but only
64 removes whitespace from the end of a string.</td></table>
65 <a name="AUTHOR"></a>
66 <h2>AUTHOR</h2>
67
68 <table width="100%" border=0 rules="none" frame="void"
69        cols="2" cellspacing="0" cellpadding="0">
70 <tr valign="top" align="left">
71 <td width="10%"></td><td width="90%">
72 Richard Jones &lt;rich@annexia.org&gt;</td></table>
73 <a name="LICENSE"></a>
74 <h2>LICENSE</h2>
75
76 <table width="100%" border=0 rules="none" frame="void"
77        cols="2" cellspacing="0" cellpadding="0">
78 <tr valign="top" align="left">
79 <td width="10%"></td><td width="90%">
80 GNU LGPL (see http://www.gnu.org/)</td></table>
81 <a name="VERSION"></a>
82 <h2>VERSION</h2>
83
84 <table width="100%" border=0 rules="none" frame="void"
85        cols="2" cellspacing="0" cellpadding="0">
86 <tr valign="top" align="left">
87 <td width="10%"></td><td width="90%">
88 c2lib-1.2.13</td></table>
89 <hr>
90 </body>
91 </html>