How do I format the output of a string?
There are a large range of uses for this function and rather than repeat the detailed documentation, take a look at the PHP manual page on sprintf here:
http://uk3.php.net/manual/en/function.sprintf.php
Comment on this Question and Answer >>>
ASK A QUESTION
More strings PHP Questions
How do I escape a string with slashes?How do I remove trailing whitespace from a string?
Hello, Is it possible to specify a character-encoding in the filter_var function. Thank you for your reply, Jan
How do I reverse a string in PHP?
How do I extract the values of variables from a string?
