Hi,
could someone help me work out how to write this format expressions it goes something like
displayBox.AppendText(string.Format("{0,-20}{1,0}\n", add11, add21));
displayBox.AppendText(string.Format("{0,-20}{1,0}\n", add12, add22));
displayBox.AppendText(string.Format("{0,-20}{1,0}\n", add13, add23));
displayBox.AppendText(string.Format("{0,-20}{1,0}\n", add14, add24));
the problem im having is that when add14 is empty add24 doesn't align properly with add22, add21, and add23
could someones please tell me what im missing? assume that addxx values are all less than 20 chars in length, but and addxx can be empty.
Any help would be appreciated.
Thanks