title: Can't figure out what this SubString.PadLeft is doing
body: <p>In this code I am debugging, I have this code snipit:</p>
  
  <pre><code>ddlExpYear.SelectedItem.Value.Substring(2).PadLeft(2, '0');
  </code></pre>
  
  <p>What does this return? I really can't run this too much as it is part of a live credit card application. The DropDownList as you could imagine from the name contains the 4-digit year.</p>
  
  <p>UPDATE: Thanks everyone. I don't do a lot of .NET development so setting up a quick test isn't as quick for me.</p>