cvs: phpdoc-da /reference/strings/functions substr-count.xml

[email protected] ("Tom Sommer")
Newsgroups php.doc.da
Message-ID <cvstomsommer1090614145@cvsserver>
tomsommer		Fri Jul 23 16:22:25 2004 EDT

  Added files:                 
    /phpdoc-da/reference/strings/functions	substr-count.xml 
  Log:
  Initial translation
  
  

http://cvs.php.net/co.php/phpdoc-da/reference/strings/functions/substr-count.xml?r=1.1&p=1
Index: phpdoc-da/reference/strings/functions/substr-count.xml
+++ phpdoc-da/reference/strings/functions/substr-count.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.6 Maintainer: tomsommer Status: ready -->
  <refentry id="function.substr-count">
   <refnamediv>
    <refname>substr_count</refname>
    <refpurpose>Tæl antallet af substring fremkomster</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Beskrivelse</title>
     <methodsynopsis>
      <type>int</type><methodname>substr_count</methodname>
      <methodparam><type>string</type><parameter>haystack</parameter></methodparam>
      <methodparam><type>string</type><parameter>needle</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>substr_count</function> returnerer antallet af gange
     <parameter>needle</parameter> substring fremkommer i
     <parameter>haystack</parameter> strengen. Bemærk at
     <parameter>needle</parameter> er case sensitive.
    </para>

    <para>
     <example>
      <title><function>substr_count</function> eksempel</title>
      <programlisting role="php">
<![CDATA[
<?php
echo substr_count("Dette er en test", "te"); // udskriver 2
?>
]]>
      </programlisting>
     </example>
    </para>
    <simpara>
     Se også <function>count_chars</function>,
     <function>strpos</function>, <function>substr</function>,
     og <function>strstr</function>.
    </simpara>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.