"binding-type"><a href="https://github.com/janet-lang/spork/blob/7fd743ac09e857fe0ebd333bd7a56cd0df3876c3//spork/misc.janet#L202">source</a></span> <pre class="binding-text">(trim-prefix prefix str)

Trim the specified prefix of a string if it has one</pre></div><hr><div class="binding"><span id="misc/trim-suffix" class="binding-sym">misc/trim-suffix</span> <span class="binding-type">function</span> <span class="binding-type"><a href="https://github.com/janet-lang/spork/blob/7fd743ac09e857fe0ebd333bd7a56cd0