> <span class="mdzsyn-string">" ._\n"</span>) <span class="mdzsyn-comment"># -&gt; "foo_bar. \n"</span></code></pre><a href="https://janetdocs.org/core-api/string%2ftriml">Community Examples</a></div><hr><div class="binding"><span id="string/trimr" class="binding-sym">string/trimr</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#L628">source</a></span> <pre class="binding-text">(string/trimr str &amp;opt