printf: left-pad with dashes: %'--6s : Printf : Development PHP Source Code


PHP Source Code » Development » Printf »

 

printf: left-pad with dashes: %'--6s




<?php

printf ("Left-pad the string %s with dashes: %'-6sn"'foo', 'foo');



?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» Printf