-string">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-sameposition-in_-string">func samePosition(<wbr>in: String)</a>
        
<div class="comment collapse" id="comment-func-sameposition-in_-string"><div class="p">
    <p>Returns the position in the given string that corresponds exactly to this
index.</p>

<p>This index must be a valid index of <code>characters.unicodeScalars</code>.</p>

<p>This example first finds the position of a space (UTF-8 code point <code>32</code>)
in a string