nlopess Sat Jul 3 08:13:06 2004 EDT
Modified files:
/phpdoc/en/reference/strings/functions substr.xml
Log:
integrate aidan's comments: added wordwrap and integrate some user notes
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/substr.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/strings/functions/substr.xml
diff -u phpdoc/en/reference/strings/functions/substr.xml:1.8
phpdoc/en/reference/strings/functions/substr.xml:1.9
--- phpdoc/en/reference/strings/functions/substr.xml:1.8 Sat Feb 7 05:29:16
2004
+++ phpdoc/en/reference/strings/functions/substr.xml Sat Jul 3 08:13:06 2004
@@ -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 @@
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 @@
</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>