title: .NET Format a string with fixed spaces
body: <p>Does the .NET String.Format method allow placement of a string at a fixed position within a fixed length string.</p>
  
  <pre>
  "           String Goes Here"
  "     String Goes Here      "
  "String Goes Here           "
  </pre>
  
  <p>How is this done using .NET?</p>
  
  <p><strong>Edit</strong> - I have tried Format/PadLeft/PadRight to death.  They do not work.  I don't know why. I ended up writing my own function to do this.</p>
  
  <p><strong>Edit</strong> - I made a mistake and used a colon instead of a comma in the format specifier.  Should be "{0,20}".</p>
  
  <p>Thanks for all of the excellent and correct answers.</p>