Suppose I have a string value “110099” and I need to increment the substring value “00” in steps of x until y and wrap to zero , if x =10 and y=90 i.e “111099”,”112099″ … and after “119099” the string value is “110099”. Can anyone please help how do I start with. thanks for your time.
EDIT:
Changed the question to be generic.
Replace it back in your original string.
Code is pretty simple.