mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
integrate aidan's comments: added wordwrap and integrate some user notes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162587 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a71ac4c538
commit
207206a637
1 changed files with 8 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.substr">
|
||||
<refnamediv>
|
||||
|
@ -68,8 +68,8 @@ $rest = substr("abcdef", -3, 1); // returns "d"
|
|||
returned will contain at most <parameter>length</parameter> characters
|
||||
beginning from <parameter>start</parameter> (depending on the length of
|
||||
<parameter>string</parameter>). If <parameter>string</parameter> is less
|
||||
than <parameter>start</parameter> characters long, &false; will be
|
||||
returned.
|
||||
than or equal to <parameter>start</parameter> characters long, &false;
|
||||
will be returned.
|
||||
</para>
|
||||
<para>
|
||||
If <parameter>length</parameter> is given and is negative, then that many
|
||||
|
@ -94,8 +94,11 @@ $rest = substr("abcdef", -3, -1); // returns "de"
|
|||
</example>
|
||||
<para>
|
||||
See also <function>strrchr</function>,
|
||||
<function>substr_replace</function>, <function>ereg</function>,
|
||||
<function>trim</function> and <function>mb_substr</function>.
|
||||
<function>substr_replace</function>,
|
||||
<function>ereg</function>,
|
||||
<function>trim</function>,
|
||||
<function>mb_substr</function> and
|
||||
<function>wordwrap</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue