   let j = i.samePosition(in: cafe.utf16)
    print(cafe.utf16[j])
}
// Prints &quot;233&quot;</code></pre>

<p><strong><code>utf16</code>:</strong>  The view to use for the index conversion.
<strong>Returns:</strong> The position in <code>utf16</code> that corresponds exactly to this index.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func samePosition(in utf16: String.UTF16View) -&gt; String.UTF16View.Index</code>
    
    
</div></div>
</div>


