pre class="language-dart"><code>string.startsWith(new RegExp(r'^art'), 1);    // false
string.startsWith(new RegExp(r'art'), 1);     // true
</code></pre>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">bool startsWith(Pattern pattern, [int index = 0]);</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md