div class="p">
    <p>Returns the position in the given UTF-16 view that corresponds exactly to
this index.</p>

<p>The index must be a valid index of <code>String(utf16).unicodeScalars</code>.</p>

<p>This example first finds the position of the character <code>&quot;√©&quot;</code> and then uses
this method find the same position in the string&#39;s <code>utf16</code> view.</p>

<pre><code class="language-swift">let cafe = &quot;Caf√©&quot;
if let i = cafe.characters.index(of: &quot;√©&quot;) {
 