Changes

Working with Strings and Text in PHP

12 bytes added, 16:05, 4 June 2007
PHP printf formatting specifiers
* '''-''' Left-justifies the value
* '''[0-9] ''' Specifies the minimum width to be used by the variable - used in conjuction with the padding character
* '''.[0-9] ''' Specifies the number of decimal digits or maximum string length
As always, some examples will hopefully help to clarify these options: