int-class.html">int</a></span> <span class="parameter-name">startIndex</span> = <span class="default-value">0</span></span> ])
      
    </section>
    <section class="desc markdown">
      <p>Replace the first occurrence of <code>from</code> in this string.</p>
<p>Returns a new string, which is this string
except that the first match of <code>from</code>, starting from <code>startIndex</code>,
is replaced by the result of calling <code>replace</code> with the match object.</p>
<p>The optional <code>startI