Something like:
put “3.33.007" into tValue
set the itemDelimiter to "."
put format("%s.%03d", item 1 to 2 of tValue, item 3 of tValue + 1) into
tNextValue
> On 8 Nov 2017, at 11:22 am, Nicolas Cueto via use-livecode
> <[email protected]> wrote:
>
> I'm after an easy way to convert span 3.33.007-3.33.012 into this
> incremental cr-del list:
>
> 3.33.007
> 3.33.008
> 3.33.009
> 3.33.010
> 3.33.011
> 3.33.012
>
> From experience, I know if I add 1 to "07" the result is "8" and not "08".
>
> Thank you.
>
> --
> Nicolas
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode