[PHP-DOC] cvs: phpdoc /en/functions strings.xml From: Torben Wilson (torben <email protected>)
Date: 08/27/00

torben Sun Aug 27 14:05:36 2000 EDT

  Modified files:
    /phpdoc/en/functions strings.xml
  Log:
  
  
  Clarify that string offsets start from 0.
  
  
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.45 phpdoc/en/functions/strings.xml:1.46
--- phpdoc/en/functions/strings.xml:1.45 Fri Aug 25 09:56:13 2000
+++ phpdoc/en/functions/strings.xml Sun Aug 27 14:05:36 2000
@@ -2842,9 +2842,13 @@
     </para>
     <para>
      If <parameter>start</parameter> is positive, the returned string
- will start at the <parameter>start</parameter>'th character of
- <parameter>string</parameter>.
- </para>
+ will start at the <parameter>start</parameter>'th position in
+ <parameter>string</parameter>, counting from zero. For instance,
+ in the string '<literal>abcdef</literal>', the character at
+ position <literal>0</literal> is '<literal>a</literal>', the
+ character at position <literal>2</literal> is
+ '<literal>c</literal>', and so forth.
+ </para>
     <para>
      Examples:
      <informalexample>