RosettaCodeData/Task/Increment-a-numerical-string/Plain-English/increment-a-numerical-strin...

5 lines
138 B
Plaintext

To increment a numerical string:
Convert the numerical string to a number.
Add 1 to the number.
Put the number into the numerical string.