Cannot convert value of type 'Range<Int>' to expected argument type 'Range<Index>' (aka 'Range<String.CharacterView.Index>')
<p>I have a string here, which I am trying to substring.</p>

<pre><code>let desc = "Hello world. Hello World."
var stringRange = 1..&lt;5
desc.substringWithRange(stringRange)
</code></pre>

<p>However Swift gives me an error with this. What have I done wrong? I am using the new notation of the stringRange because it doesn't let me use the old one.</p>