note 11956 added to function.sprintf.php
| From: | eblade at blackmagik dot dynup dot net | Date: | Thu, 15 Mar 2001 05:55:39 +0000 |
| Subject: | note 11956 added to function.sprintf.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12419@lists.php.net to get a copy of this message | ||
as far as centering a string within a field size goes:
sprintf("%-=75s", $str);
http://www.php.net/manual/en/function.sprintf.php