will set a minimum string length of 10 chars. It will align on the right; to align it on the left, use "%-10s". But this still won't work if you're using a serif etc. font.Code:sprintf("%10s");
You can't easily get columns to line up with serif fonts. I would use Courier New or Courier.