[IronPython] String Replacement

Lewis Franklin lfranklin at texaslife.com
Tue Mar 28 18:09:14 CEST 2006


I encountered a problem working with IronPython the other day and wanted 
to post to see if anyone else has experienced this problem and if it may 
be a bug:

 >>> '%02d' % 1
'01'
 >>> '%02d' % 12
'012'

Expected Result:
 >>> '%02d' % 12
'12'

Lewis Franklin



More information about the Ironpython-users mailing list