pies of `bytes` concatenated.</pre><a href="https://janetdocs.org/core-api/string%2frepeat">Community Examples</a></div><hr><div class="binding"><span id="string/replace" class="binding-sym">string/replace</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/e9c6678/src/core/string.c#L391">source</a></span> <pre class="binding-text">(string/replace patt subst str)

Replace the first occurrence of `patt` with `subst` in the string `st