[PHP-DOC] cvs: phpdoc /de/functions strings.xml From: Thomas Schuermann (thomas.schuermann <email protected>)
Date: 07/12/00

tschuer Wed Jul 12 12:04:39 2000 EDT

  Modified files:
    /phpdoc/de/functions strings.xml
  Log:
  Added substr_count translation.
  
Index: phpdoc/de/functions/strings.xml
diff -u phpdoc/de/functions/strings.xml:1.20 phpdoc/de/functions/strings.xml:1.21
--- phpdoc/de/functions/strings.xml:1.20 Wed Jul 12 05:00:19 2000
+++ phpdoc/de/functions/strings.xml Wed Jul 12 12:04:38 2000
@@ -2640,10 +2640,13 @@
   <refentry id="function.substr-count">
    <refnamediv>
     <refname>substr_count</refname>
- <refpurpose>Count the number of substring occurrences</refpurpose>
+ <refpurpose>
+ Ermittelt die Häufigkeit des Vorkommens einer Zeichenkette in
+ einem String
+ </refpurpose>
    </refnamediv>
    <refsect1>
- <title>Description</title>
+ <title>Beschreibung:</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>int <function>substr_count</function></funcdef>
@@ -2652,21 +2655,24 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- <function>substr_count</function> returns the number of times the
- <parameter>needle</parameter> substring occurs in the
- <parameter>haystack</parameter> string.
+ Die Funktion <function>substr_count</function> ermittelt, wie oft
+ <parameter>needle</parameter> in dem String
+ <parameter>haystack</parameter> vorkommt.
     </para>
-
     <para>
      <example>
- <title><function>substr_count</function> example</title>
+ <title><function>Substr_count</function>-Beispiel:</title>
       <programlisting>
-print substr_count("This is a test", "is"); // prints out 2
+print substr_count("Dieser Test ist Mist", "ist"); // ergibt 2
       </programlisting>
      </example>
     </para>
+ <para>
+ Diese Funktion steht ab PHP 4.0.0 zur Verfügung.
+ </para>
    </refsect1>
   </refentry>
+
   <refentry id="function.substr-replace">
    <refnamediv>
     <refname>substr_replace</refname>