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

From: Date: Sat, 26 Jun 2004 23:04:11 +0000
Subject: cvs: phpdoc-da /reference/strings/functions ucfirst.xml
Groups: php.doc.da 
Request: Send a blank email to doc-da+get-23@lists.php.net to get a copy of this message
tomsommer Sat Jun 26 19:04:11 2004 EDT Added files: /phpdoc-da/reference/strings/functions ucfirst.xml Log: Initial Translation http://cvs.php.net/co.php/phpdoc-da/reference/strings/functions/ucfirst.xml?r=1.1&p=1 Index: phpdoc-da/reference/strings/functions/ucfirst.xml +++ phpdoc-da/reference/strings/functions/ucfirst.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: tomsommer Status: ready --> <refentry id="function.ucfirst"> <refnamediv> <refname>ucfirst</refname> <refpurpose>Skriv en strengs første bogstav med stort</refpurpose> </refnamediv> <refsect1> <title>Beskrivelse</title> <methodsynopsis> <type>string</type><methodname>ucfirst</methodname> <methodparam><type>string</type><parameter>str</parameter></methodparam> </methodsynopsis> <para> Returnere en streng med det første tegn i <parameter>str</parameter> som stort, hvis det tegn er alfabetisk. </para> <para> Bemærk at 'alfabetisk' er beregnet ud fra den nuværende locale. For eksempel, vil standard "C" locale tegn, så som umlaut-a, (&auml;) ikke blive konverteret. <example> <title><function>ucfirst</function> eksempel</title> <programlisting role="php"> <![CDATA[ <?php $foo = 'hello world!'; $foo = ucfirst($foo); // Hello world! $bar = 'HELLO WORLD!'; $bar = ucfirst($bar); // HELLO WORLD! $bar = ucfirst(strtolower($bar)); // Hello world! ?> ]]> </programlisting> </example> </para> <para> Se også <function>strtolower</function>, <function>strtoupper</function>, og <function>ucwords</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 -->

« previous php.doc.da (#23) next »