Overwrite a string on a tape Take the string abcdfghjk. To overwrite it, starting from f, with the string wxyz, you would continue along the original, replacing each character with the one from the replacement string. The result would be abcdwxyzk.
Now, consider a string which would be too long to fit, like lmnopqrs. Starting at f you would get abcdlmnop, then hit the end of the string. In order to continue, you wrap back to the beginning, resulting in qrsdefghi. With a long enough string, you could even wrap around multiple times.
Task:
You should take three inputs: the original string, the replacement string, and an index to start replacing at. This can be zero or one indexed.
Test Cases:
&quot;This is a string&quot;  &quot;That&quot;                  0   -&gt;  &quot;That is a string&quot;
&quot;This is a string&quot;  &quot;That&quot;                  5   -&gt;  &quot;This That string&quot;
&quot;This is a string&quot;  &quot;That&quot;                  14  -&gt;  &quot;atis is a striTh&quot;
&quot;hi&quot;                &quot;Hello there!&quot;          0   -&gt;  &quot;e!&quot;
&quot;hi&quot;                &quot;Hello there!&quot;          1   -&gt;  &quot;!e&quot;
&quot;over&quot;              &quot;write multiple times&quot;  0   -&gt;  &quot;imes&quot;
&quot;over&quot;              &quot;write multiple times&quot;  3   -&gt;  &quot;mesi&quot;

Other:
This is code-golf, shortest answer per language in bytes wins!
Python 3, 39 bytes

def f(x,y,z):
&#9;for x[z%len(x)]in y:z+=1

Try it online!
-5 bytes thanks to ovs for spotting the trick with cleverly using python's for loop specifics