   <p>Returns <code>prefixUpTo(position.successor())</code></p>

<p><strong>Complexity:</strong> O(1)</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func prefixThrough(position: String.CharacterView.Index) -&gt; String.CharacterView</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/RangeReplaceableCollectionType/"><code>RangeReplaceableCollectionType</code></a>,    <a href="../../protocol/CollectionType/"><code>CollectionType</code></a>    
</div></div>
</div>
<div