apse" id="comment-func-samepositionin_-string"><div class="p">
    <p>Returns the position in <code>characters</code> that corresponds exactly
to <code>self</code>, or if no such position exists, <code>nil</code>.</p>

<p><strong>Requires:</strong> <code>self</code> is an element of <code>characters.utf16.indices</code>.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func samePositionIn(characters: String) -&gt; Index?</code>
    
    
</div></div>
</div>
<div class="declaration" id="fun