div>

<pre><span id="VALstarts_with"><span class="keyword">val</span> starts_with</span> : <code class="type">prefix:string -&gt; string -&gt; bool</code></pre><div class="info ">
<div class="info-desc">
<p><code class="code">starts_with&nbsp;</code><code class="code">~prefix&nbsp;s</code> is <code class="code"><span class="keyword">true</span></code> if and only if <code class="code">s</code> starts with
    <code class="code">prefix</code>.</p>
</div>
<ul class="info-attributes">
<li><b>Since</b> 4.13.0</