Re: Easy Way.
| From: | Vincent M. | Date: | Sun, 09 Mar 2003 21:26:36 +0000 |
| Subject: | Re: Easy Way. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138885@lists.php.net to get a copy of this message | ||
Jason Sheets wrote:
Hello, Use str_pad, the manual page is available at http://www.php.net/str_pad, a short example would be: $i = 3; $i = str_pad($i, 5, "0", STR_PAD_LEFT); This function is described in the PHP manual in the string functions section, the manual is an excellent place to go first when questions such as this arise.Yes I know, but it's not so easy to find to right function I need there are so many... ;-) Thanks.