note 43256 added to function.sprintf
| From: | rex at rn2 dot php dot net | Date: | Tue, 15 Jun 2004 18:47:24 +0000 |
| Subject: | note 43256 added to function.sprintf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71116@lists.php.net to get a copy of this message | ||
Note, if you are just looking for something to pad out a string consider str_pad.
From testing, it seems faster and was more intuitive to use (for example, making it pad the begining
or end of a string... with sprintf you would have to use negative indexes)
----
Manual Page -- http://www.php.net/manual/en/function.sprintf.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43256
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43256&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43256&report=yes
Search -- http://master.php.net/manage/user-notes.php