 class="binding"><span id="string/replace-all" class="binding-sym">string/replace-all</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/e1c4fc2/src/boot/boot.janet#L414">source</a></span> <pre class="binding-text">(string/replace-all patt subst str)

Replace all instances of patt with subst in the string str. Overlapping matches will not be counted, only the first match in such a span will be replaced. Will return the new string i