<div>
Ah yes, see what you mean. Good question ;)
</div>
<div><br>Neil<br></div>
<p style="color: #A0A0A8;">On Wednesday, 7 September 2011 at 09:34, Michael Pavling wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>On 7 September 2011 09:33, Neil Middleton <<a href="mailto:neil.middleton@gmail.com">neil.middleton@gmail.com</a>> wrote:<br><blockquote type="cite"><div>You're asking for no length with [3,0] hence it slicing at position 3 for 0<br>chars. With the second version you're using an out of range start position<br>hence the nil.<br></div></blockquote><br>But if x[3] is nil (because it's out of range), how come starting the<br>slice at 3 doesn't count as out of range too?:-/<br>_______________________________________________<br>Chat mailing list<br><a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br><a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br></div></div></span>
</blockquote>
<div>
<br>
</div>