codeblock"><code data-language="janet"><span class="mdzsyn-string">"Hello, üëç"</span></code></pre><h2>Substrings
</h2>
<p>The <code class="mendoza-code">string/slice</code> function is used to get substrings from a string. Negative
integers can be used to index from the end of the string.
</p>
<pre class="mendoza-codeblock"><code data-language="janet">(<span class="mdzsyn-coresym">string/slice</span> <span class="mdzsyn-string">"abcdefg"</span>) <span class="mdzsyn-comment"># -&gt; "abcdefg"</span>
(