title: Is there a built-in Swift function to pad Strings at the beginning?
body: <p>The <code>String</code> function <code>padding(toLength:withPad:startingAt:)</code> will pad strings by adding padding characters on the end to "fill out" the string to the desired length.</p>
  
  <p>Is there an equivalent function that will pad strings by prepending padding characters at the beginning? </p>
  
  <p>This would be useful if you want to right-justify a substring in a monospaced output string, for example.</p>
  
  <p>I could certainly write one, but I would expect there to be a built-in function, seeing as how there is already a function that pads at the end.</p>