cvs: phpdoc-da /reference/strings/functions stristr.xml

[email protected] ("Jonathan Holst")
Newsgroups php.doc.da
Message-ID <cvsholst1089138938@cvsserver>
holst		Tue Jul  6 14:35:38 2004 EDT

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

http://cvs.php.net/co.php/phpdoc-da/reference/strings/functions/stristr.xml?r=1.1&p=1
Index: phpdoc-da/reference/strings/functions/stristr.xml
+++ phpdoc-da/reference/strings/functions/stristr.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.7 Maintainer: holst Status: ready -->
  <refentry id="function.stristr">
   <refnamediv>
    <refname>stristr</refname>
    <refpurpose>
     <function>strstr</function> uden forskel på store og små bogstaver
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>stristr</methodname>
      <methodparam><type>string</type><parameter>haystack</parameter></methodparam>
      <methodparam><type>string</type><parameter>needle</parameter></methodparam>
     </methodsynopsis>
    <para>
     Returnerer alt fra <parameter>haystack</parameter> siden den første forekomst af
     <parameter>needle</parameter> til slut. <parameter>needle</parameter> og
     <parameter>haystack</parameter> bliver undersøgt på en måde der ikke
     skelner mellem store og små bogstaver.
    </para>
    <para>
     Hvis <parameter>needle</parameter> ikke bliver fundet, returneres &false;.
    </para>
    <para>
     Hvis <parameter>needle</parameter> ikke er en streng, bliver den
     konverteret til et heltal og tilføjet som ordentallets tegnværdi.
    </para>
    <para>
     <example>
      <title><function>stristr</function> example</title>
      <programlisting role="php">
<![CDATA[
<?php
  $email = '[email protected]';
  $domain = stristr($email, 'e');
  echo $domain; 
// giver [email protected]
?>
]]>
      </programlisting>
     </example> 
    </para>
    <para>
     Se også 
     <function>strstr</function>,
     <function>strrchr</function>, 
     <function>substr</function> og
     <function>ereg</function>.
    </para>
   </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.