May-18-2018, 02:07 PM
(May-18-2018, 10:19 AM)wavic Wrote: You can specify in the placeholder the number of characters to be taken by a string. If the string is shorter the rest will be filled with spaces. Because of 'United States of America' is 24 characters 26 lengths of the field will do the job just perfect:Thank you very much!{0:26}
. You can explicitly tell whether the string to be left or right aligned inside that 26 chars field:{0:>26}
.