Increment a numerical string: Difference between revisions
Content added Content deleted
Line 111: | Line 111: | ||
=={{header|D}}== |
=={{header|D}}== |
||
<code> |
|||
import std.stdio, std.conv, std.string; |
|||
auto n = format(toInt("12345") + 1); |
|||
</code> |
|||
=={{header|E}}== |
=={{header|E}}== |