mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
added documentation for rtrim.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@29408 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b8e4c0d1dd
commit
84c36115cf
1 changed files with 27 additions and 0 deletions
|
@ -1337,6 +1337,33 @@ echo '<A HREF="http://x.com/department_list_script/',
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.rtrim">
|
||||
<refnamediv>
|
||||
<refname>rtrim</refname>
|
||||
<refpurpose>Remove trailing whitespace.</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcdef>string <function>rtrim</function></funcdef>
|
||||
<paramdef>string <parameter>str</parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns the argument string without trailing whitespace,
|
||||
including newlines. This is an alias for <function>chop</function>.
|
||||
<example>
|
||||
<title><function>rtrim</function> example</title>
|
||||
<programlisting role="php">
|
||||
$trimmed = rtrim ($line);
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>trim</function>, <function>ltrim</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.setlocale">
|
||||
<refnamediv>
|
||||
<refname>setlocale</refname>
|
||||
|
|
Loading…
Reference in a new issue