function to complete strings with white spaces on the left
| From: | Carlos Fernando Scheidecker Antunes | Date: | Mon, 21 May 2001 01:03:05 +0000 |
| Subject: | function to complete strings with white spaces on the left | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-53648@lists.php.net to get a copy of this message | ||
Hello All,
I need to output a string that must always be 17 characters even if the inside value is not.
Supose a have the HELLO word that is a 5 character string and I need to output "HELLO
" which is 17 characters.
How can I accomplish this in PHP4 ?
Has anyone ever did it?
Thanks,
Carlos Fernando.