You can experiment from the command line with the printf command
Code:
csadev:/home/jmcnama> printf "%-50s\n" "hi there"
hi there
csadev:/home/jmcnama> printf "%50s\n" "hi there"
hi there
It left justifies text, pads to 50 character length with spaces , %s is a format specifier for printf.