cvs: phpdoc-da /reference/strings/functions chunk-split.xml

[email protected] ("Jonathan Holst")
Newsgroups php.doc.da
Message-ID <cvsholst1090615838@cvsserver>
holst		Fri Jul 23 16:50:38 2004 EDT

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

http://cvs.php.net/co.php/phpdoc-da/reference/strings/functions/chunk-split.xml?r=1.1&p=1
Index: phpdoc-da/reference/strings/functions/chunk-split.xml
+++ phpdoc-da/reference/strings/functions/chunk-split.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.8 Maintainer: holst Status: ready -->
  <refentry id="function.chunk-split">
   <refnamediv>
    <refname>chunk_split</refname>
    <refpurpose>Del en streng ind i mindre fragmenter</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Beskrivelse</title>
     <methodsynopsis>
      <type>string</type><methodname>chunk_split</methodname>
      <methodparam><type>string</type><parameter>body</parameter></methodparam>
      <methodparam choice="opt"><type>int</type><parameter>chunklen</parameter></methodparam>
      <methodparam choice="opt"><type>string</type><parameter>end</parameter></methodparam>
     </methodsynopsis>
    <para>
     Kan bruges til at dele en strengn ind i mindre fragmenter hvilket er
     brugbart for eks. at konvertere <function>base64_encode</function>-data
     for at matche RFC 2045's betydningslære. Den indsætter
     <parameter>end</parameter> (standard "\r\n") hver
     <parameter>chunklen</parameter> tegn (standard 76). Den returnerer den
     nye streng og efterlader den originale uberørt.
     <example>
      <title><function>chunk_split</function> eksempel</title>
      <programlisting role="php">
<![CDATA[
<?php
// formatér $data ved brug af RFC 2045's betydningslære
$new_string = chunk_split(base64_encode($data));
?>
]]>
      </programlisting>
     </example>
    </para>
    <simpara>
     Se også
     <function>str_split</function>,
     <function>explode</function>, 
     <function>split</function>, 
     <function>wordwrap</function> og
     <ulink url="&url.rfc;2045">RFC 2045</ulink>.
    </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.