note 1517 deleted from sprintf by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 18:10:52 +0000 |
| Subject: | note 1517 deleted from sprintf by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1363@lists.php.net to get a copy of this message | ||
How to make a string left justified. In the manual it says:
"...The default is right-justified; a - character here will make it left-justified."
e.g.: I have a String and want to fill it up with spaces, but a
sprintf("%100s",$txt);
put's the spaces before the string, i want the spaces after the String.
And i can't find out how the syntax must be :-(