<a href="https://janetdocs.org/string/triml">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/a0ddfcb/src/core/string.c#L600">source</a></span> <pre class="binding-text">(string/trimr str &amp;opt set)

Trim trailing whitespace from a byte sequence. If the argument set is provided, consider only characters in set to be wh