i"><span class="keyword">val</span> mapi</span> : <code class="type">f:(int -&gt; char -&gt; char) -&gt; string -&gt; string</code></pre><div class="info ">
<div class="info-desc">
<p><code class="code">mapi&nbsp;~f&nbsp;s</code> is like <a href="StringLabels.html#VALmap"><code class="code"><span class="constructor">StringLabels</span>.map</code></a> but the index of the character is also
    passed to <code class="code">f</code>.</p>
</div>
<ul class="info-attributes">
<li><b>Since</b> 4.02.0</li>
</ul>
</