{
    print(&quot;\(n): &#39;\(c)&#39;&quot;)
  }
0: &#39;S&#39;
1: &#39;w&#39;
2: &#39;i&#39;
3: &#39;f&#39;
4: &#39;t&#39;</code></pre>

    <h4>Declaration</h4>    
    <code class="language-swift">func enumerate() -&gt; EnumerateSequence&lt;String.CharacterView&gt;</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/RangeReplaceableCollectionType/"><code>RangeReplaceableCollectionType</code></a>,    <a href="../../protocol/CollectionType/"><code>CollectionType</code></a>,    <a href