Date: 07/12/00
- Next message: Wolfgang Drews: "[PHP-DOC] cvs: phpdoc /de/functions var.xml"
- Previous message: Wolfgang Drews: "[PHP-DOC] cvs: phpdoc /de/functions info.xml"
- Next in thread: Thomas Schuermann: "[PHP-DOC] cvs: phpdoc /de/functions strings.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
drews Wed Jul 12 05:00:19 2000 EDT
Modified files:
/phpdoc/de/functions strings.xml
Log:
Added:
function.substr-count
(updated from english manual)
translation required
--> german tree version is up2date now
Index: phpdoc/de/functions/strings.xml
diff -u phpdoc/de/functions/strings.xml:1.19 phpdoc/de/functions/strings.xml:1.20
--- phpdoc/de/functions/strings.xml:1.19 Sun Jul 9 11:51:39 2000
+++ phpdoc/de/functions/strings.xml Wed Jul 12 05:00:19 2000
@@ -2637,6 +2637,36 @@
</refsect1>
</refentry>
+ <refentry id="function.substr-count">
+ <refnamediv>
+ <refname>substr_count</refname>
+ <refpurpose>Count the number of substring occurrences</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>int <function>substr_count</function></funcdef>
+ <paramdef>string <parameter>haystrack</parameter></paramdef>
+ <paramdef>string <parameter>needle</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ <function>substr_count</function> returns the number of times the
+ <parameter>needle</parameter> substring occurs in the
+ <parameter>haystack</parameter> string.
+ </para>
+
+ <para>
+ <example>
+ <title><function>substr_count</function> example</title>
+ <programlisting>
+print substr_count("This is a test", "is"); // prints out 2
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+ </refentry>
<refentry id="function.substr-replace">
<refnamediv>
<refname>substr_replace</refname>
- Next message: Wolfgang Drews: "[PHP-DOC] cvs: phpdoc /de/functions var.xml"
- Previous message: Wolfgang Drews: "[PHP-DOC] cvs: phpdoc /de/functions info.xml"
- Next in thread: Thomas Schuermann: "[PHP-DOC] cvs: phpdoc /de/functions strings.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

