title: sprintf in Delphi?
body: <p>Does anyone know a 100% clone of the C/C++ <a href="http://en.wikipedia.org/wiki/Printf" rel="nofollow noreferrer">printf</a> for Delphi?
  Yes, I know the System.<a href="http://www.delphibasics.co.uk/RTL.asp?Name=Format" rel="nofollow noreferrer">Format</a> function, but it handles things a little different.</p>
  
  <p>For example if you want to format 3 to "003" you need "%03d" in C, but "%.3d" in Delphi.</p>
  
  <p>I have an application written in Delphi which has to be able to format numbers using C format strings, so do you know a snippet/library for that?</p>
  
  <p>Thanks in advance!</p>