Mega Code Archive

 
Categories / Php / Functions
 

Left-aligned by prepending a minus symbol (-) to the field width specifier

<?     printf ("%-20s\n", "Left aligned"); ?>