in reply to A Set String Length
the minus sign means the padding goes to the right of the string, so you will get the spaces between your string and the semicolonprintf("%-10s;", $string);
node 20519 has all the info you need about printf.
Good luck,
-Mark
|
|---|