Posted by Greg on 07/24/05 03:34
Hi, I'm trying to pad with spaces. For example if I do this: printf ("%010s", 'php'); Then it pads fine with the zeros. However if I do this: printf ("% 10s", 'php'); It won't pad with spaces. What do I need to do to make it pad w/ spaces? Thanks.
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming