Packing characters
Hi
I have an exercises where I have a list of different names, of different
lengths but I want a result which packs out the name with trailing spaces so
that the final length of the name and spaces always equals 15 for each.
ie john needs 11 spaces added to it for the length to be 15 but andrew needs
9 spaces added.
Thanks
G
|