I have a string that is a repeating decimal. The string value may or may not have values to the left of the decimal: ".33333333" or "1.6666666666" or "12125.464646464646".
I want to iterate through the string starting directly after the decimal. Is there a way to start a for loop directly to the right of the decimal?
Ideally, you would not cut or split the string in advance. The question is more geared towards starting a for loop at a specific point given a specific character versus looping through a full string that has been cut.
.333333 would start at 3
1.66666 would start at 6
12125.464646 would start at 4