the string.  Indexes outside range of the string will return an empty string ("").</p>
<pre>
s = "hello"
s[0]
    => "h"
s[4]
    => "o"
s[5]
    => ""
s[-1]
    => "o"
s[-5]
    => "h"
</pre>

<p>Range subscripts may also be used.</p>

<p><code>[from .. to]</code> returns the subsequence starting at <code>from</code> and ending at, but not including <code>to</code>.</p>

<p><code>s[from :: length]</code> returns the subsequence starting at <code>from</code> with the given <code>length</code>.</p>

<p>If <c