cvs: phpdoc-da /reference/strings/functions sprintf.xml
[email protected] ("Jonathan Holst")
| Newsgroups | php.doc.da |
|---|---|
| Message-ID | <cvsholst1091909771@cvsserver> |
holst Sat Aug 7 16:16:11 2004 EDT
Modified files:
/phpdoc-da/reference/strings/functions sprintf.xml
Log:
Sync with EN
http://cvs.php.net/diff.php/phpdoc-da/reference/strings/functions/sprintf.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc-da/reference/strings/functions/sprintf.xml
diff -u phpdoc-da/reference/strings/functions/sprintf.xml:1.5 phpdoc-da/reference/strings/functions/sprintf.xml:1.6
--- phpdoc-da/reference/strings/functions/sprintf.xml:1.5 Tue Aug 3 12:42:47 2004
+++ phpdoc-da/reference/strings/functions/sprintf.xml Sat Aug 7 16:16:11 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.10 Maintainer: holst Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.11 Maintainer: holst Status: ready -->
<refentry id="function.sprintf">
<refnamediv>
<refname>sprintf</refname>
@@ -244,6 +244,7 @@
printf("[%10s]\n", $s); // højrestillet med mellemrum
printf("[%-10s]\n", $s); // venstrestillet med mellemrum
printf("[%010s]\n", $s); // nuludfyldning virker også på strenge
+printf("[%'#10s]\n", $s); // brug det normale udfyldningstegn '#'
printf("[%10.10s]\n", $t); // venstrestillet, men afskåret ved 10 tegn
?>
]]>
@@ -257,6 +258,7 @@
[ abe]
[abe ]
[0000000abe]
+[#######abe]
[rigtige ma]
]]>
</screen>