title: String Indices in swift
body: <p>Use the indices property to access all of the indices of individual characters in a string.
  Reference Swift documentation.</p>
  
  <pre><code>let greeting = "Guten Tag!"
  
  for index in greeting.indices {
      print("\(greeting[index]) ", terminator: "")
  }
  // Prints "G u t e n   T a g ! "
  </code></pre>
  
  <p>but when i tried </p>
  
  <pre><code>for index in greeting {
      print("\(index) ", terminator: "")
  }
  // Prints "G u t e n   T a g ! "
  </code></pre>
  
  <p>so what is the difference?</p>