RosettaCodeData/Task/Increment-a-numerical-string/Transd/increment-a-numerical-string.transd

4 lines
69 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
(with s "12345"
(= s String((+ (to-Int s) 1))))
(textout s))